diff --git a/src/AnimeClient/API/Kitsu/Auth.php b/src/AnimeClient/API/Kitsu/Auth.php index 1ec5c26f..ac17d05a 100644 --- a/src/AnimeClient/API/Kitsu/Auth.php +++ b/src/AnimeClient/API/Kitsu/Auth.php @@ -68,7 +68,7 @@ final class Auth { ->getSegment(SESSION_SEGMENT); $this->model = $container->get('kitsu-model'); - Event::on('::unauthorized::', [$this, 'reAuthenticate']); + Event::on('::unauthorized::', [$this, 'reAuthenticate'], []); } /** diff --git a/tests/AnimeClient/Helper/MenuHelperTest.php b/tests/AnimeClient/Helper/MenuHelperTest.php index 1e863b1d..537074ff 100644 --- a/tests/AnimeClient/Helper/MenuHelperTest.php +++ b/tests/AnimeClient/Helper/MenuHelperTest.php @@ -55,7 +55,7 @@ class MenuHelperTest extends AnimeClientTestCase { $expected['no selection'] = $this->helper->ul()->__toString(); // selected - $link = $this->helper->a($this->urlGenerator->url('/foobar'), 'Index'); + $link = $this->helper->a($this->urlGenerator->url('/foobar'), 'Index', ['aria-current' => 'location']); $this->helper->ul()->rawItem($link, ['class' => 'selected']); $expected['selected'] = $this->helper->ul()->__toString();