From aeedd5c9d9fdf20b3e5953c4228d246b0f7ad00f Mon Sep 17 00:00:00 2001 From: Joshua Dwire Date: Sat, 20 Feb 2021 11:24:08 -0500 Subject: [PATCH 1/2] Fix tests --- tests/Feature/Import/ImportCsvTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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', ]; From bb81adaf06707d03d5f6b035be7f384e29bbe091 Mon Sep 17 00:00:00 2001 From: Joshua Dwire Date: Sat, 20 Feb 2021 16:31:48 -0500 Subject: [PATCH 2/2] Try removing reference to a specific branch from the phpunit.yml --- .github/workflows/phpunit.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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