Properly use author name or author sort. fix #130
This commit is contained in:
parent
f50e925c3d
commit
65b6931b13
5 changed files with 17 additions and 12 deletions
|
@ -184,7 +184,7 @@ class BookTest extends PHPUnit_Framework_TestCase
|
|||
$this->assertEquals ("The Return of Sherlock Holmes", $book->getTitle ());
|
||||
$this->assertEquals ("urn:uuid:87ddbdeb-1e27-4d06-b79b-4b2a3bfc6a5f", $book->getEntryId ());
|
||||
$this->assertEquals ("index.php?page=13&id=2", $book->getDetailUrl ());
|
||||
$this->assertEquals ("Doyle, Arthur Conan", $book->getAuthorsName ());
|
||||
$this->assertEquals ("Arthur Conan Doyle", $book->getAuthorsName ());
|
||||
$this->assertEquals ("Fiction, Mystery & Detective, Short Stories", $book->getTagsName ());
|
||||
$this->assertEquals ('<p class="description">The Return of Sherlock Holmes is a collection of 13 Sherlock Holmes stories, originally published in 1903-1904, by Arthur Conan Doyle.<br />The book was first published on March 7, 1905 by Georges Newnes, Ltd and in a Colonial edition by Longmans. 30,000 copies were made of the initial print run. The US edition by McClure, Phillips & Co. added another 28,000 to the run.<br />This was the first Holmes collection since 1893, when Holmes had "died" in "The Adventure of the Final Problem". Having published The Hound of the Baskervilles in 1901–1902 (although setting it before Holmes\' death) Doyle came under intense pressure to revive his famous character.</p>', $book->getComment (false));
|
||||
$this->assertEquals ("English", $book->getLanguages ());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue