1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Thu, 13 Feb 2025 08:46:46 +0100
Subject: Compatibility with recent PHPUnit (12)
---
tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php b/tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php
index dd5a8f9..161d64d 100644
--- a/tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php
+++ b/tests/Common/DataFixtures/ProxyReferenceRepositoryTest.php
@@ -72,7 +72,7 @@ class ProxyReferenceRepositoryTest extends BaseTestCase
$referenceRepository->expects($this->once())
->method('getReferenceNames')
- ->will($this->returnValue(['admin-role']));
+ ->willReturn(['admin-role']);
$referenceRepository->expects($this->once())
->method('setReferenceIdentity')
|