Skip to content

Commit

Permalink
Fix: Adjusted tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vassyli committed Mar 1, 2021
1 parent 8d43b3d commit 31eca85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testIfCommandEmitsEvent()
$eventManager->expects($this->once())
->method('publish')
->with(
$this->equalTo("h/lotgd/core/cli/character-config-reset/{$path}"),
$this->equalTo("h/lotgd/core/cli/scene-config-reset/{$path}"),
$this->callback(function (EventContextData $eventContextData) use ($scene, $sceneTitle, $setting) {
$pass = 1;

Expand Down
2 changes: 1 addition & 1 deletion tests/Commands/SceneCommands/SceneConfigSetCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testIfCommandEmitsEvent()
$eventManager->expects($this->once())
->method('publish')
->with(
$this->equalTo("h/lotgd/core/cli/character-config-set/{$path}"),
$this->equalTo("h/lotgd/core/cli/scene-config-set/{$path}"),
$this->callback(function (EventContextData $eventContextData) use ($character, $displayName, $setting, $value) {
$pass = 1;

Expand Down

0 comments on commit 31eca85

Please sign in to comment.