From 3004007d540325229569b7a2ef411814ef499e6a Mon Sep 17 00:00:00 2001 From: marcelmanzel Date: Mon, 12 Aug 2024 13:37:09 +0200 Subject: [PATCH] OXDEV-8216: Use message in ModuleActivationExceptionTest instead of constant --- tests/Unit/Module/Exception/ModuleActivationExceptionTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/Module/Exception/ModuleActivationExceptionTest.php b/tests/Unit/Module/Exception/ModuleActivationExceptionTest.php index fbaf066..554366e 100644 --- a/tests/Unit/Module/Exception/ModuleActivationExceptionTest.php +++ b/tests/Unit/Module/Exception/ModuleActivationExceptionTest.php @@ -22,6 +22,6 @@ public function testException(): void $exception = new ModuleActivationException(); $this->assertInstanceOf(ModuleActivationException::class, $exception); - $this->assertSame(ModuleActivationException::EXCEPTION_MESSAGE, $exception->getMessage()); + $this->assertSame('An error occurred while activating the module.', $exception->getMessage()); } }