diff --git a/tests/Unit/Import/Transformer/Quickbooks/ClientTransformerTest.php b/tests/Unit/Import/Transformer/Quickbooks/ClientTransformerTest.php index f9fdcbabca7e..57f7b05f5449 100644 --- a/tests/Unit/Import/Transformer/Quickbooks/ClientTransformerTest.php +++ b/tests/Unit/Import/Transformer/Quickbooks/ClientTransformerTest.php @@ -18,7 +18,7 @@ class ClientTransformerTest extends TestCase $company = (new \App\Factory\CompanyFactory)->create(1234); // Read the JSON string from a file and decode into an associative array - $this->customer_data = json_decode( file_get_contents( app_path('/../tests/Mock/Response/Quickbooks/customer.json') ), true); + $this->customer_data = json_decode( file_get_contents( app_path('/../tests/Mock/Quickbooks/Data/customer.json') ), true); $this->transformer = new ClientTransformer($company); $this->transformed_data = $this->transformer->transform($this->customer_data['Customer']); } diff --git a/tests/Unit/Import/Transformer/Quickbooks/InvoiceTransformerTest.php b/tests/Unit/Import/Transformer/Quickbooks/InvoiceTransformerTest.php index 40d7f287c6f4..eeeafb18e07c 100644 --- a/tests/Unit/Import/Transformer/Quickbooks/InvoiceTransformerTest.php +++ b/tests/Unit/Import/Transformer/Quickbooks/InvoiceTransformerTest.php @@ -25,7 +25,7 @@ class InvoiceTransformerTest extends TestCase $this->withoutExceptionHandling(); Auth::setUser($this->user); // Read the JSON string from a file and decode into an associative array - $this->invoiceData = json_decode( file_get_contents( app_path('/../tests/Mock/Response/Quickbooks/invoice.json') ), true); + $this->invoiceData = json_decode( file_get_contents( app_path('/../tests/Mock/Quickbooks/Data/invoice.json') ), true); $this->transformer = new InvoiceTransformer($this->company); $this->transformedData = $this->transformer->transform($this->invoiceData['Invoice']); } diff --git a/tests/Unit/Import/Transformer/Quickbooks/ProductTransformerTest.php b/tests/Unit/Import/Transformer/Quickbooks/ProductTransformerTest.php index 04dbd6ff7312..194f0f8ecf2d 100644 --- a/tests/Unit/Import/Transformer/Quickbooks/ProductTransformerTest.php +++ b/tests/Unit/Import/Transformer/Quickbooks/ProductTransformerTest.php @@ -18,7 +18,7 @@ class ProductTransformerTest extends TestCase $company = (new \App\Factory\CompanyFactory)->create(1234); // Read the JSON string from a file and decode into an associative array - $this->product_data = json_decode( file_get_contents( app_path('/../tests/Mock/Response/Quickbooks/item.json') ), true); + $this->product_data = json_decode( file_get_contents( app_path('/../tests/Mock/Quickbooks/Data/item.json') ), true); $this->transformer = new ProductTransformer($company); $this->transformed_data = $this->transformer->transform($this->product_data['Item']); }