Fix tests
This commit is contained in:
parent
96fd445415
commit
0eaae1387e
|
|
@ -28,7 +28,7 @@ class UserPanelComposerTest extends TestCase
|
||||||
});
|
});
|
||||||
|
|
||||||
$this->get('/user')
|
$this->get('/user')
|
||||||
->assertSee('<span class="badge bg-purple mb-1">Pro</span>');
|
->assertSee('<span class="badge bg-purple mb-1 mr-2">Pro</span>');
|
||||||
|
|
||||||
$user->permission = User::ADMIN;
|
$user->permission = User::ADMIN;
|
||||||
$user->save();
|
$user->save();
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ class HookTest extends TestCase
|
||||||
Hook::addUserBadge('hi', 'green');
|
Hook::addUserBadge('hi', 'green');
|
||||||
$this->actAs('normal')
|
$this->actAs('normal')
|
||||||
->get('/user')
|
->get('/user')
|
||||||
->assertSee('<span class="badge bg-green mb-1">hi</span>');
|
->assertSee('<span class="badge bg-green mb-1 mr-2">hi</span>');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testSendNotification()
|
public function testSendNotification()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user