Skip to content

Commit 4ec17dc

Browse files
committed
Fix tests for Dingo
1 parent 1c55c7c commit 4ec17dc

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/Unit/RouteMatcherDingoTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,6 @@ public function testRespectsVersionsRuleForDingoRouter()
107107
$this->assertCount(18, $routes);
108108
}
109109

110-
public function testWillIncludeRouteIfListedExplicitlyForLaravelRouter()
111-
{
112-
$this->registerLaravelRoutes();
113-
$mustInclude = 'domain1-1';
114-
$routeRules[0]['include'] = [$mustInclude];
115-
116-
$routeRules[0]['match']['domains'] = ['domain1.*'];
117-
$routeRules[0]['match']['prefixes'] = ['prefix1/*'];
118-
$matcher = new RouteMatcher();
119-
$routes = $matcher->getRoutes($routeRules);
120-
$oddRuleOut = collect($routes)->filter(function ($route) use ($mustInclude) {
121-
return $route['route']->getName() === $mustInclude;
122-
});
123-
$this->assertCount(1, $oddRuleOut);
124-
}
125-
126110
public function testWillIncludeRouteIfListedExplicitlyForDingoRouter()
127111
{
128112
$this->registerDingoRoutes();

0 commit comments

Comments
 (0)