mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
21 lines
480 B
PHP
21 lines
480 B
PHP
<?php
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
class BooksTest extends TestCase
|
|
{
|
|
/**
|
|
* @throws \DariusIII\ItunesApi\Exceptions\InvalidProviderException
|
|
* @throws \Exception
|
|
*/
|
|
public function testFetchItunesBookProperties(): void
|
|
{
|
|
$book = (new \Blacklight\Books())->fetchItunesBookProperties('The Volunteer');
|
|
|
|
$this->assertArrayHasKey('author', $book);
|
|
$this->assertEquals('Jack Fairweather', $book['author']);
|
|
}
|
|
}
|