Merge pull request #4953 from joshuadwire/v5-develop

Fix tests
This commit is contained in:
David Bomba 2021-02-21 10:06:09 +11:00 committed by GitHub
commit d7ab99f02f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -69,7 +69,6 @@ jobs:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
with: with:
ref: v5-develop
fetch-depth: 1 fetch-depth: 1
- name: Copy .env - name: Copy .env
@ -105,4 +104,4 @@ jobs:
- name: Run php-cs-fixer - name: Run php-cs-fixer
run: | run: |
vendor/bin/php-cs-fixer fix vendor/bin/php-cs-fixer fix

View File

@ -249,7 +249,7 @@ class ImportCsvTest extends TestCase
$data = [ $data = [
'hash' => $hash, 'hash' => $hash,
'column_map' => [ 'client' => $column_map ], 'column_map' => [ 'client' => [ 'mapping' => $column_map ] ],
'skip_header' => true, 'skip_header' => true,
'import_type' => 'csv', 'import_type' => 'csv',
]; ];
@ -282,7 +282,7 @@ class ImportCsvTest extends TestCase
$data = [ $data = [
'hash' => $hash, 'hash' => $hash,
'column_map' => [ 'invoice' => $column_map ], 'column_map' => [ 'invoice' => [ 'mapping' => $column_map ] ],
'skip_header' => true, 'skip_header' => true,
'import_type' => 'csv', 'import_type' => 'csv',
]; ];