Skip to content

Commit 957e0ce

Browse files
committed
Enable test cases
1 parent 8c7ce68 commit 957e0ce

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

tests/PluginTest.php

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -156,39 +156,39 @@ public static function provideTargetMethods(): array
156156
{
157157
return [
158158

159-
// [
160-
// Route::class,
161-
// [
162-
// [
163-
// new Route("/articles/method/", 'GET', 'articles:method'),
164-
// 'Acme\PSR4\Presentation\ArticleController::aMethod'
165-
// ],
166-
// [
167-
// new Route("/articles", 'GET', 'articles:list'),
168-
// 'Acme\PSR4\Presentation\ArticleController::list'
169-
// ],
170-
// [
171-
// new Route("/articles/{id}", 'GET', 'articles:show'),
172-
// 'Acme\PSR4\Presentation\ArticleController::show'
173-
// ],
174-
// ]
175-
// ],
176-
// [
177-
// Get::class,
178-
// [
179-
// [ new Get(), 'Acme\Presentation\FileController::list' ],
180-
// [ new Get('/{id}'), 'Acme\Presentation\FileController::show' ],
181-
// [ new Get(), 'Acme\Presentation\ImageController::list' ],
182-
// [ new Get('/{id}'), 'Acme\Presentation\ImageController::show' ],
183-
// ]
184-
// ],
185-
// [
186-
// Subscribe::class,
187-
// [
188-
// [ new Subscribe(), 'Acme\PSR4\SubscriberA::onEventA' ],
189-
// [ new Subscribe(), 'Acme\PSR4\SubscriberB::onEventA' ],
190-
// ]
191-
// ],
159+
[
160+
Route::class,
161+
[
162+
[
163+
new Route("/articles/method/", 'GET', 'articles:method'),
164+
'Acme\PSR4\Presentation\ArticleController::aMethod'
165+
],
166+
[
167+
new Route("/articles", 'GET', 'articles:list'),
168+
'Acme\PSR4\Presentation\ArticleController::list'
169+
],
170+
[
171+
new Route("/articles/{id}", 'GET', 'articles:show'),
172+
'Acme\PSR4\Presentation\ArticleController::show'
173+
],
174+
]
175+
],
176+
[
177+
Get::class,
178+
[
179+
[ new Get(), 'Acme\Presentation\FileController::list' ],
180+
[ new Get('/{id}'), 'Acme\Presentation\FileController::show' ],
181+
[ new Get(), 'Acme\Presentation\ImageController::list' ],
182+
[ new Get('/{id}'), 'Acme\Presentation\ImageController::show' ],
183+
]
184+
],
185+
[
186+
Subscribe::class,
187+
[
188+
[ new Subscribe(), 'Acme\PSR4\SubscriberA::onEventA' ],
189+
[ new Subscribe(), 'Acme\PSR4\SubscriberB::onEventA' ],
190+
]
191+
],
192192
[
193193
UrlGetter::class,
194194
[

0 commit comments

Comments
 (0)