File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -107,22 +107,6 @@ public function testRespectsVersionsRuleForDingoRouter()
107
107
$ this ->assertCount (18 , $ routes );
108
108
}
109
109
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
-
126
110
public function testWillIncludeRouteIfListedExplicitlyForDingoRouter ()
127
111
{
128
112
$ this ->registerDingoRoutes ();
You can’t perform that action at this time.
0 commit comments