- $this->assertEquals(44, $bookmark->getId());
- $this->assertEquals(
- 'The personal, minimalist, super-fast, database free, bookmarking service',
- $bookmark->getTitle()
+ $this->assertStringStartsWith(
+ 'Adding a shaare without entering a URL creates a text-only "note" post such as this one.',
+ $bookmark->getDescription()
+ );
+ $this->assertTrue($bookmark->isPrivate());
+
+ $bookmark = $this->bookmarkService->get(45);
+ $this->assertStringStartsWith(
+ 'Welcome to Shaarli!',
+ $bookmark->getDescription()