fix CSS & add description

This commit is contained in:
2020-08-02 11:22:19 +02:00
parent 8d49c38115
commit 81b600339f
6 changed files with 12 additions and 7 deletions

View File

@@ -25,8 +25,9 @@ class BookmarkTest extends TestCase
$this->assertCount(1, Bookmark::all());
$this->assertEquals('Test Name', $bookmark->name);
$this->assertEquals('Test Description', $bookmark->description);
$this->assertEquals('https://portal.bricooli.fr', $bookmark->url);
$this->assertEquals('https://portal.bricooli.fr/img/logo.svg', $bookmark->favicon);
// $this->assertEquals('https://portal.bricooli.fr/img/logo.svg', $bookmark->favicon);
$response->assertStatus(201);
$response->assertJson([
@@ -36,8 +37,9 @@ class BookmarkTest extends TestCase
'attributes' => [
'data' => [
'name' => $bookmark->name,
'description' => $bookmark->description,
'url' => $bookmark->url,
'favicon' => $bookmark->favicon,
// 'favicon' => $bookmark->favicon,
]
],
],
@@ -205,6 +207,7 @@ class BookmarkTest extends TestCase
{
return [
'name' => 'Test Name',
'description' => 'Test Description',
'url' => 'https://portal.bricooli.fr',
'favicon' => 'https://portal.bricooli.fr/img/logo.svg',
];