Skip to content

Commit

Permalink
OXDEV-8952: Fix test of BeforeModuleDeactivationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid committed Dec 13, 2024
1 parent 9e8603b commit 7c22b8d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public function testHandleThrowsModuleSetupValidationException()
]);

$this->expectException(ModuleSetupValidationException::class);
$this->expectExceptionMessage((new ModuleSetupValidationException($dependency))->getMessage());
$this->expectExceptionMessage((new ModuleSetupValidationException('Module with id "' . $dependency .
'" cannot be deactivated while GraphQL Configuration Access module is active.'))->getMessage());

$sut = new BeforeModuleDeactivation($dependencies);
$sut->handle($beforeModuleDeactivationEvent);
Expand Down

0 comments on commit 7c22b8d

Please sign in to comment.