Fixes for tests
This commit is contained in:
parent
719f6715e8
commit
f33f1d81e7
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue