Remove warning
这个提交包含在:
父节点
deb9870015
当前提交
d6dd31fa77
|
@ -278,7 +278,7 @@ class BookTest extends PHPUnit_Framework_TestCase
|
||||||
{
|
{
|
||||||
// Get Alice (available as MOBI, PDF, EPUB in that order)
|
// Get Alice (available as MOBI, PDF, EPUB in that order)
|
||||||
$book = Book::getBookById(17);
|
$book = Book::getBookById(17);
|
||||||
$data = $book->GetMostInterestingDataToSendToKindle ();
|
$book->GetMostInterestingDataToSendToKindle ();
|
||||||
array_shift ($book->datas);
|
array_shift ($book->datas);
|
||||||
$data = $book->GetMostInterestingDataToSendToKindle ();
|
$data = $book->GetMostInterestingDataToSendToKindle ();
|
||||||
$this->assertEquals ("PDF", $data->format);
|
$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)
|
// Get Alice (available as MOBI, PDF, EPUB in that order)
|
||||||
$book = Book::getBookById(17);
|
$book = Book::getBookById(17);
|
||||||
$data = $book->GetMostInterestingDataToSendToKindle ();
|
$book->GetMostInterestingDataToSendToKindle ();
|
||||||
array_shift ($book->datas);
|
array_shift ($book->datas);
|
||||||
array_shift ($book->datas);
|
array_shift ($book->datas);
|
||||||
$data = $book->GetMostInterestingDataToSendToKindle ();
|
$data = $book->GetMostInterestingDataToSendToKindle ();
|
||||||
|
|
正在加载...
在新工单中引用