Files
newznab-tmux-NNTmux/tests/Feature/BooksTest.php
T
2019-07-16 10:02:39 +02:00

21 lines
474 B
PHP

<?php
namespace Tests\Feature;
use Tests\TestCase;
class BooksTest extends TestCase
{
/**
* @throws \DariusIII\ItunesApi\Exceptions\InvalidProviderException
* @throws \Exception
*/
public function testFetchItunesBookProperties()
{
$book = (new \Blacklight\Books())->fetchItunesBookProperties('The Volunteer');
$this->assertArrayHasKey('author', $book);
$this->assertEquals('Jack Fairweather', $book['author']);
}
}