Skip to content

Commit

Permalink
Merge pull request #55 from tienvx/rename-tests
Browse files Browse the repository at this point in the history
test: Rename tests
  • Loading branch information
tienvx authored Apr 1, 2024
2 parents 9bc1a5c + bdbffa4 commit 0757851
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/Service/MessageDispatcherManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function testNoHandler(): void
$this->messageDispatcherManager->dispatch($description);
}

public function testSetupValidDispatcher(): void
public function testSetupInvalidDispatcher(): void
{
$description = 'invalid dispatcher';
$handler = function () {};
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Service/StateHandlerManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function testNoHandler(Action $action): void
$this->stateHandlerManager->handle($state, $action, $this->params);
}

public function testSetupValidHandler(): void
public function testSetupInvalidHandler(): void
{
$state = 'setup invalid handler';
$action = Action::SETUP;
Expand All @@ -62,7 +62,7 @@ public function testSetupValidHandler(): void
$this->stateHandlerManager->handle($state, $action, $this->params);
}

public function testTeardownValidHandler(): void
public function testTeardownInvalidHandler(): void
{
$state = 'teardown invalid handler';
$action = Action::TEARDOWN;
Expand Down

0 comments on commit 0757851

Please sign in to comment.