Fix generated fronted urls
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user