mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 03:14:33 -04:00
Fixes for tests
This commit is contained in:
parent
719f6715e8
commit
f33f1d81e7
@ -36,7 +36,7 @@ class UpdateCompanyUserTest extends TestCase
|
|||||||
|
|
||||||
public function testUpdatingCompanyUserAsAdmin()
|
public function testUpdatingCompanyUserAsAdmin()
|
||||||
{
|
{
|
||||||
User::unguard();
|
// User::unguard();
|
||||||
|
|
||||||
$settings = new \stdClass;
|
$settings = new \stdClass;
|
||||||
$settings->invoice = 'ninja';
|
$settings->invoice = 'ninja';
|
||||||
@ -59,7 +59,7 @@ class UpdateCompanyUserTest extends TestCase
|
|||||||
$message = json_decode($e->validator->getMessageBag(), 1);
|
$message = json_decode($e->validator->getMessageBag(), 1);
|
||||||
$this->assertNotNull($message);
|
$this->assertNotNull($message);
|
||||||
}
|
}
|
||||||
|
|
||||||
$response->assertStatus(200);
|
$response->assertStatus(200);
|
||||||
|
|
||||||
$arr = $response->json();
|
$arr = $response->json();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user