File tree Expand file tree Collapse file tree 1 file changed +20
-20
lines changed
tests/system/Commands/Utilities/Routes/AutoRouterImproved Expand file tree Collapse file tree 1 file changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -59,18 +59,18 @@ public function testGetFilterMatches()
59
59
60
60
$ expected = [
61
61
0 => [
62
- 0 => 'GET(auto) ' ,
63
- 1 => 'newautorouting ' ,
64
- 2 => '\\Tests \\Support \\Controllers \\Newautorouting::getIndex ' ,
65
- 3 => '' ,
66
- 4 => 'toolbar ' ,
62
+ 'GET(auto) ' ,
63
+ 'newautorouting ' ,
64
+ '\\Tests \\Support \\Controllers \\Newautorouting::getIndex ' ,
65
+ '' ,
66
+ 'toolbar ' ,
67
67
],
68
68
1 => [
69
- 0 => 'POST(auto) ' ,
70
- 1 => 'newautorouting/save/../..[/..] ' ,
71
- 2 => '\\Tests \\Support \\Controllers \\Newautorouting::postSave ' ,
72
- 3 => 'honeypot ' ,
73
- 4 => 'toolbar ' ,
69
+ 'POST(auto) ' ,
70
+ 'newautorouting/save/../..[/..] ' ,
71
+ '\\Tests \\Support \\Controllers \\Newautorouting::postSave ' ,
72
+ 'honeypot ' ,
73
+ 'toolbar ' ,
74
74
],
75
75
];
76
76
$ this ->assertSame ($ expected , $ routes );
@@ -85,18 +85,18 @@ public function testGetFilterDoesNotMatch()
85
85
86
86
$ expected = [
87
87
0 => [
88
- 0 => 'GET(auto) ' ,
89
- 1 => 'newautorouting ' ,
90
- 2 => '\\Tests \\Support \\Controllers \\Newautorouting::getIndex ' ,
91
- 3 => '' ,
92
- 4 => 'toolbar ' ,
88
+ 'GET(auto) ' ,
89
+ 'newautorouting ' ,
90
+ '\\Tests \\Support \\Controllers \\Newautorouting::getIndex ' ,
91
+ '' ,
92
+ 'toolbar ' ,
93
93
],
94
94
1 => [
95
- 0 => 'POST(auto) ' ,
96
- 1 => 'newautorouting/save/../..[/..] ' ,
97
- 2 => '\\Tests \\Support \\Controllers \\Newautorouting::postSave ' ,
98
- 3 => '' ,
99
- 4 => 'toolbar ' ,
95
+ 'POST(auto) ' ,
96
+ 'newautorouting/save/../..[/..] ' ,
97
+ '\\Tests \\Support \\Controllers \\Newautorouting::postSave ' ,
98
+ '' ,
99
+ 'toolbar ' ,
100
100
],
101
101
];
102
102
$ this ->assertSame ($ expected , $ routes );
You can’t perform that action at this time.
0 commit comments