Fix tests

This commit is contained in:
Timothy Warren 2020-04-21 20:09:37 -04:00
parent da570d5167
commit da15c45fd9
3 changed files with 4 additions and 4 deletions

View File

@ -15,6 +15,5 @@
</article>
<?php endforeach ?>
</section>
<pre><?= print_r($items, TRUE) ?></pre>
<?php endif ?>
</main>

View File

@ -25,7 +25,7 @@ class Anime extends AbstractType {
/**
* @var string
*/
public string $age_rating = '';
public ?string $age_rating = '';
/**
* @var string
@ -53,9 +53,9 @@ class Anime extends AbstractType {
public array $genres = [];
/**
* @var string
* @var string|int
*/
public string $id = '';
public $id = '';
/**
* @var array

View File

@ -216,6 +216,7 @@ class DispatcherTest extends AnimeClientTestCase {
'settings' => Controller\Settings::class,
'user' => Controller\User::class,
'images' => Controller\Images::class,
'history' => Controller\History::class,
];
return [