Remove warning

This commit is contained in:
Sébastien Lucas 2014-05-06 09:56:58 +02:00
父節點 deb9870015
當前提交 d6dd31fa77
共有 1 個文件被更改,包括 2 次插入2 次删除

查看文件

@ -278,7 +278,7 @@ class BookTest extends PHPUnit_Framework_TestCase
{
// Get Alice (available as MOBI, PDF, EPUB in that order)
$book = Book::getBookById(17);
$data = $book->GetMostInterestingDataToSendToKindle ();
$book->GetMostInterestingDataToSendToKindle ();
array_shift ($book->datas);
$data = $book->GetMostInterestingDataToSendToKindle ();
$this->assertEquals ("PDF", $data->format);
@ -288,7 +288,7 @@ class BookTest extends PHPUnit_Framework_TestCase
{
// Get Alice (available as MOBI, PDF, EPUB in that order)
$book = Book::getBookById(17);
$data = $book->GetMostInterestingDataToSendToKindle ();
$book->GetMostInterestingDataToSendToKindle ();
array_shift ($book->datas);
array_shift ($book->datas);
$data = $book->GetMostInterestingDataToSendToKindle ();