Skip to content

Commit 371e860

Browse files
committed
Fixed assertion with controller name
1 parent 233c431 commit 371e860

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Admin/Extension/WorkflowExtensionTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Symfony\Component\Routing\Route;
1212
use Symfony\Component\Workflow\Registry;
1313
use Symfony\Component\Workflow\StateMachine;
14-
use Symfony\Component\Workflow\SupportStrategy\InstanceOfSupportStrategy;
1514
use Yokai\SonataWorkflow\Admin\Extension\WorkflowExtension;
1615
use Yokai\SonataWorkflow\Controller\WorkflowController;
1716
use Yokai\SonataWorkflow\Tests\PullRequest;
@@ -36,7 +35,7 @@ public function testConfigureRoutes()
3635
self::assertSame('/pull-request/{id}/workflow/transition/{transition}/apply', $route->getPath());
3736
self::assertNotEmpty($defaults = $route->getDefaults());
3837
self::assertArrayHasKey('_controller', $defaults);
39-
self::assertSame(WorkflowController::class.':workflowApplyTransitionAction', $defaults['_controller']);
38+
self::assertSame(WorkflowController::class.'::workflowApplyTransitionAction', $defaults['_controller']);
4039
self::assertArrayHasKey('_sonata_admin', $defaults);
4140
self::assertSame('pull_request', $defaults['_sonata_admin']);
4241
}

0 commit comments

Comments
 (0)