diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2022-06-16 14:50:59 +0300 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2022-06-16 21:38:40 +0300 |
commit | 6b8d6de4fc99fd7c0850603b53f3a0fadadebe3b (patch) | |
tree | 30d1125cf33a14539bb009347618cc6f0143d910 /tests/lib | |
parent | ed4fcf2d17c60a8c3c8da9758063a95326df86a8 (diff) |
make placeholder a const for reusebackport/32898/stable24
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/Log/ExceptionSerializerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Log/ExceptionSerializerTest.php b/tests/lib/Log/ExceptionSerializerTest.php index f8cc6b77ee6..70ac80d13e3 100644 --- a/tests/lib/Log/ExceptionSerializerTest.php +++ b/tests/lib/Log/ExceptionSerializerTest.php @@ -62,7 +62,7 @@ class ExceptionSerializerTest extends TestCase { } catch (\Exception $e) { $serializedData = $this->serializer->serializeException($e); $this->assertSame(['Secret'], $secret); - $this->assertSame('*** sensitive parameters replaced ***', $serializedData['Trace'][0]['args'][0]); + $this->assertSame(ExceptionSerializer::SENSITIVE_VALUE_PLACEHOLDER, $serializedData['Trace'][0]['args'][0]); } } } |