Fix generated fronted urls

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-05-19 09:24:25 +02:00
parent 30683fd994
commit 6910ba95fa
6 changed files with 11 additions and 11 deletions

View File

@@ -151,7 +151,7 @@ class DeckProviderTest extends TestCase {
->with('deck.page.index')
->willReturn('http://localhost/index.php/apps/deck/');
$this->assertEquals(
'http://localhost/index.php/apps/deck/#!board/1/card/1',
'http://localhost/index.php/apps/deck/#board/1/card/1',
$this->provider->deckUrl('board/1/card/1')
);
}
@@ -186,7 +186,7 @@ class DeckProviderTest extends TestCase {
'type' => 'highlight',
'id' => 1,
'name' => 'Board',
'link' => '#!/board/1',
'link' => '#/board/1',
],
'user' => [
'type' => 'user',
@@ -303,7 +303,7 @@ class DeckProviderTest extends TestCase {
'type' => 'highlight',
'id' => 1,
'name' => 'Board name',
'link' => '#!/board/1/',
'link' => '#/board/1/',
],
];
$actual = $this->invokePrivate($this->provider, 'parseParamForBoard', ['board', $subjectParams, $params]);