diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index dc58add47c87..8f8e8ce44d93 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -69,7 +69,6 @@ jobs: - uses: actions/checkout@v1 with: - ref: v5-develop fetch-depth: 1 - name: Copy .env @@ -105,4 +104,4 @@ jobs: - name: Run php-cs-fixer run: | - vendor/bin/php-cs-fixer fix \ No newline at end of file + vendor/bin/php-cs-fixer fix diff --git a/tests/Feature/Import/ImportCsvTest.php b/tests/Feature/Import/ImportCsvTest.php index 2ca8751c6336..d1167dc9a008 100644 --- a/tests/Feature/Import/ImportCsvTest.php +++ b/tests/Feature/Import/ImportCsvTest.php @@ -249,7 +249,7 @@ class ImportCsvTest extends TestCase $data = [ 'hash' => $hash, - 'column_map' => [ 'client' => $column_map ], + 'column_map' => [ 'client' => [ 'mapping' => $column_map ] ], 'skip_header' => true, 'import_type' => 'csv', ]; @@ -282,7 +282,7 @@ class ImportCsvTest extends TestCase $data = [ 'hash' => $hash, - 'column_map' => [ 'invoice' => $column_map ], + 'column_map' => [ 'invoice' => [ 'mapping' => $column_map ] ], 'skip_header' => true, 'import_type' => 'csv', ];