Fixed testPrivateBookmarks error on accessing invalid array element

This commit is contained in:
Mark Pemberton 2011-05-07 01:30:10 -04:00
parent eb47149a40
commit 6fbc47774f

View File

@ -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);
}