Skip to content

Commit 0928c5a

Browse files
committed
[T3CMS] Add UriBuilder stub to test env
1 parent 0027149 commit 0928c5a

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

typo3-cms/src/test/java/com/cedricziel/idea/typo3/routing/RouteHelperTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ protected String getTestDataPath() {
1212
}
1313

1414
public void testCanCorrectlyIdentifyRoutesFromRoutesPhp() {
15+
myFixture.copyFileToProject("classes.php");
1516
myFixture.copyFileToProject("AjaxRoutes.php");
1617
myFixture.copyFileToProject("Routes.php");
1718

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace TYPO3\CMS\Backend\Routing {
4+
class UriBuilder
5+
{
6+
public function buildUriFromRoutePath()
7+
{
8+
}
9+
10+
public function buildUriFromRoute()
11+
{
12+
}
13+
14+
public function buildUriFromAjaxId()
15+
{
16+
}
17+
18+
public function getAjaxUrl()
19+
{
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)