Fix: Adjusted tests.

This commit is contained in:
Vassyli
2021-03-01 20:51:59 +01:00
committed by Basilius Sauter
parent 8d43b3d2ce
commit 31eca85df4
2 changed files with 2 additions and 2 deletions
@@ -41,7 +41,7 @@ class SceneConfigResetCommandTest extends CoreModelTestCase
$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;
@@ -41,7 +41,7 @@ class SceneConfigSetCommandTest extends CoreModelTestCase
$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;