From a45dcc5580faaf0e15a2b3e4c28a5e39d25fdb65 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 3 Sep 2024 08:20:32 +1000 Subject: [PATCH] Fixes for tests --- public/build/manifest.json | 2 +- tests/Feature/DocumentsApiTest.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 2de5bfa6e61c..f1747c8d7f50 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -9,7 +9,7 @@ ] }, "resources/js/app.js": { - "file": "assets/app-234e3402.js", + "file": "assets/app-e0713224.js", "imports": [ "_index-08e160a7.js", "__commonjsHelpers-725317a4.js" diff --git a/tests/Feature/DocumentsApiTest.php b/tests/Feature/DocumentsApiTest.php index e5fedcc35bbc..c4a1ad50e2c6 100644 --- a/tests/Feature/DocumentsApiTest.php +++ b/tests/Feature/DocumentsApiTest.php @@ -181,6 +181,8 @@ class DocumentsApiTest extends TestCase 'user_id' => $this->user->id, ]); + $this->invoice->documents()->save($d); + $response = $this->withHeaders([ 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->token,