From f33f1d81e704894c69b1bc9795fff19b3540d7e6 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 14 Apr 2022 20:15:46 +1000 Subject: [PATCH] Fixes for tests --- tests/Integration/UpdateCompanyUserTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Integration/UpdateCompanyUserTest.php b/tests/Integration/UpdateCompanyUserTest.php index 7198a5af4593..de8808955d5b 100644 --- a/tests/Integration/UpdateCompanyUserTest.php +++ b/tests/Integration/UpdateCompanyUserTest.php @@ -36,7 +36,7 @@ class UpdateCompanyUserTest extends TestCase public function testUpdatingCompanyUserAsAdmin() { - User::unguard(); + // User::unguard(); $settings = new \stdClass; $settings->invoice = 'ninja'; @@ -59,7 +59,7 @@ class UpdateCompanyUserTest extends TestCase $message = json_decode($e->validator->getMessageBag(), 1); $this->assertNotNull($message); } - + $response->assertStatus(200); $arr = $response->json();