summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-06-16 13:50:59 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2022-06-16 18:38:29 +0200
commit8b2b5946e60cc81515c6e3ac7462148d81d7acbc (patch)
tree0daeb061c81763164fe1ae6ec7d0a0dcf4e2dd54 /tests/lib
parent891c10d09da333e6af172bacd0c28540fd7a7032 (diff)
downloadnextcloud-server-8b2b5946e60cc81515c6e3ac7462148d81d7acbc.tar.gz
nextcloud-server-8b2b5946e60cc81515c6e3ac7462148d81d7acbc.zip
make placeholder a const for reuse
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Log/ExceptionSerializerTest.php2
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]);
}
}
}