We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d6767 commit 90a94deCopy full SHA for 90a94de
test/functional/SSHKeyAddTest.php
@@ -3,6 +3,7 @@
3
use UnityWebPortal\lib\UnityGithub;
4
use PHPUnit\Framework\Attributes\DataProvider;
5
use PHPUnit\Framework\MockObject\MockBuilder;
6
+use PHPUnit\Framework\Attributes\AllowMockObjectsWithoutExpectations;
7
8
class SSHKeyAddTest extends UnityWebPortalTestCase
9
{
@@ -94,6 +95,7 @@ public function getKeyCount()
94
95
return count($USER->getSSHKeys());
96
}
97
98
+ #[AllowMockObjectsWithoutExpectations]
99
#[DataProvider("provider")]
100
public function testAddSshKeys(string $methodName, int $expectedKeysAdded, array $keys)
101
0 commit comments