From 43861e52ab31600031ddc80dd13be4d00ffb8740 Mon Sep 17 00:00:00 2001 From: rsgrinko Date: Wed, 22 Mar 2023 15:12:50 +0300 Subject: [PATCH] [*] test .gitlab-ci.yml --- tests/UserTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UserTest.php b/tests/UserTest.php index 78c9292..828967f 100644 --- a/tests/UserTest.php +++ b/tests/UserTest.php @@ -9,7 +9,7 @@ { public function testGetAllUserData(): void { - $testClassMock = $this->getMockBuilder(TestClass::class)->getMock(); + $testClassMock = $this->getMockBuilder(TestClass::class)->setMethodsExcept(['getAllUserData'])->getMock(); //->getMockBuilder(TestClass::class) //->setConstructorArgs([1]) //->getMock();