Fix tests

This commit is contained in:
Pig Fang 2019-12-13 19:45:18 +08:00
parent 96fd445415
commit 0eaae1387e
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class UserPanelComposerTest extends TestCase
});
$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->save();

View File

@ -83,7 +83,7 @@ class HookTest extends TestCase
Hook::addUserBadge('hi', 'green');
$this->actAs('normal')
->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()