Browse Source

Remove warning

master
Sébastien Lucas 10 years ago
parent
commit
d6dd31fa77
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/bookTest.php

+ 2
- 2
test/bookTest.php View File

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


Loading…
Cancel
Save