From d6dd31fa77425df64761faeef5c4e7103d9affef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 6 May 2014 09:56:58 +0200 Subject: [PATCH] Remove warning --- test/bookTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bookTest.php b/test/bookTest.php index 77dceb5..afdc5e0 100644 --- a/test/bookTest.php +++ b/test/bookTest.php @@ -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 ();