mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-29 15:29:52 -05:00
scenerio added only for Deutsch and Spanish language (#6523)
This commit is contained in:
@@ -202,7 +202,7 @@ class NotificationContext implements Context {
|
||||
public function userShouldGetANotificationWithMessage(string $user, string $subject, TableNode $table):void {
|
||||
$this->userListAllNotifications($user);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(200);
|
||||
$actualMessage = $this->filterResponseAccordingToNotificationSubject($subject)->message;
|
||||
$actualMessage = str_replace(["\r", "\n"], " ", $this->filterResponseAccordingToNotificationSubject($subject)->message);
|
||||
$expectedMessage = $table->getColumnsHash()[0]['message'];
|
||||
Assert::assertSame(
|
||||
$expectedMessage,
|
||||
|
||||
Reference in New Issue
Block a user