Skip to content

Commit

Permalink
OXDEV-8216: Use message in ModuleActivationExceptionTest instead of c…
Browse files Browse the repository at this point in the history
…onstant
  • Loading branch information
MarcelOxid committed Aug 12, 2024
1 parent 6d7dc0a commit 3004007
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 3004007

Please sign in to comment.