Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-06-16 14:50:59 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-06-16 21:38:40 +0300
commit6b8d6de4fc99fd7c0850603b53f3a0fadadebe3b (patch)
tree30d1125cf33a14539bb009347618cc6f0143d910 /tests/lib
parented4fcf2d17c60a8c3c8da9758063a95326df86a8 (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.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]);
}
}
}