Fixed testPrivateBookmarks error on accessing invalid array element
This commit is contained in:
parent
eb47149a40
commit
6fbc47774f
@ -1384,7 +1384,7 @@ class BookmarkTest extends TestBase
|
||||
$b2 = $bookmarks['bookmarks'][0];
|
||||
$this->assertEquals('title', $b2['bTitle']);
|
||||
// there should be no second record
|
||||
$this->assertNull($bookmarks['bookmarks'][1]);
|
||||
$this->assertEquals(count($bookmarks['bookmarks']),1);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user