Make sure re-authenticate gets arguments
This commit is contained in:
parent
abb17844fd
commit
057216a21c
@ -68,7 +68,7 @@ final class Auth {
|
|||||||
->getSegment(SESSION_SEGMENT);
|
->getSegment(SESSION_SEGMENT);
|
||||||
$this->model = $container->get('kitsu-model');
|
$this->model = $container->get('kitsu-model');
|
||||||
|
|
||||||
Event::on('::unauthorized::', [$this, 'reAuthenticate']);
|
Event::on('::unauthorized::', [$this, 'reAuthenticate'], []);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -55,7 +55,7 @@ class MenuHelperTest extends AnimeClientTestCase {
|
|||||||
$expected['no selection'] = $this->helper->ul()->__toString();
|
$expected['no selection'] = $this->helper->ul()->__toString();
|
||||||
|
|
||||||
// selected
|
// 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']);
|
$this->helper->ul()->rawItem($link, ['class' => 'selected']);
|
||||||
$expected['selected'] = $this->helper->ul()->__toString();
|
$expected['selected'] = $this->helper->ul()->__toString();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user