diff --git a/tests/Unit/Service/OutOfOffice/OutOfOfficeParserTest.php b/tests/Unit/Service/OutOfOffice/OutOfOfficeParserTest.php index 024e93701f..c733475347 100644 --- a/tests/Unit/Service/OutOfOffice/OutOfOfficeParserTest.php +++ b/tests/Unit/Service/OutOfOffice/OutOfOfficeParserTest.php @@ -123,7 +123,7 @@ public function testBuildEnabledResponderWithSpecialCharsInMessage(): void { new DateTimeImmutable("2022-09-02T00:00:00+0100"), null, "On vacation", - "I'm on vacation.\n\"Hello, World!\"\n\\ escaped backslash", + "I'm on vacation. \"Hello, World!\" \\ escaped backslash", ), $script, ["Test Test ", "Test Alias "], diff --git a/tests/data/sieve-vacation-on-special-chars-message.sieve b/tests/data/sieve-vacation-on-special-chars-message.sieve index 6e1f51e61f..0148b1b646 100644 --- a/tests/data/sieve-vacation-on-special-chars-message.sieve +++ b/tests/data/sieve-vacation-on-special-chars-message.sieve @@ -11,10 +11,8 @@ if address "From" "marketing@company.org" { } ### Nextcloud Mail: Vacation Responder ### DON'T EDIT ### -# DATA: {"version":1,"enabled":true,"start":"2022-09-02T00:00:00+01:00","subject":"On vacation","message":"I'm on vacation.\n\"Hello, World!\"\n\\ escaped backslash"} +# DATA: {"version":1,"enabled":true,"start":"2022-09-02T00:00:00+01:00","subject":"On vacation","message":"I'm on vacation. \"Hello, World!\" \\ escaped backslash"} if currentdate :value "ge" "iso8601" "2022-09-01T23:00:00Z" { - vacation :days 4 :subject "On vacation" :addresses ["Test Test ", "Test Alias "] "I'm on vacation. -\"Hello, World!\" -\\ escaped backslash"; + vacation :days 4 :subject "On vacation" :addresses ["Test Test ", "Test Alias "] "I'm on vacation. \"Hello, World!\" \\ escaped backslash"; } ### Nextcloud Mail: Vacation Responder ### DON'T EDIT ### \ No newline at end of file