From e087fdf1149f537a23e468102b79bde4efbfaf89 Mon Sep 17 00:00:00 2001 From: Akanksha Date: Thu, 7 Mar 2024 19:44:53 +0530 Subject: [PATCH] Fix typo --- tests/src/Kernel/EmbargoAccessQueryTaggingAlterTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Kernel/EmbargoAccessQueryTaggingAlterTest.php b/tests/src/Kernel/EmbargoAccessQueryTaggingAlterTest.php index a38a0d0..9ce8aab 100644 --- a/tests/src/Kernel/EmbargoAccessQueryTaggingAlterTest.php +++ b/tests/src/Kernel/EmbargoAccessQueryTaggingAlterTest.php @@ -64,7 +64,7 @@ public function testNodeEmbargoReferencedMediaAccessQueryAlterAccessDenied() { public function testNodeEmbargoReferencedFileAccessQueryAlterAccessDenied() { $query = $this->generateFileSelectAccessQuery($this->user, 'view'); $result = $query->execute()->fetchAll(); - $this->assertCount(1, $result, json_encode($result)); + $this->assertCount(1, $result, 'File of embargoed nodes cannot be viewed'); } /**