mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
21 lines
471 B
PHP
21 lines
471 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('One man Army');
|
|
|
|
$this->assertArrayHasKey('author', $book);
|
|
$this->assertEquals('Donna Michaels', $book['author']);
|
|
}
|
|
}
|