diff options
author | Kate <26026535+provokateurin@users.noreply.github.com> | 2025-06-13 09:10:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-13 09:10:09 +0200 |
commit | 7be047a5c08d4401899d38c9a7d7ebdb6d8e78b2 (patch) | |
tree | 70348117aaae719bd278f4476afe6563ee16aa14 /tests/lib/OCS | |
parent | 1f0086ff6b49c31facd7cb13921725142b47409f (diff) | |
parent | 3561937816578a699008c010829142a01580e7bf (diff) | |
download | nextcloud-server-master.tar.gz nextcloud-server-master.zip |
Diffstat (limited to 'tests/lib/OCS')
-rw-r--r-- | tests/lib/OCS/ProviderTest.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/lib/OCS/ProviderTest.php b/tests/lib/OCS/ProviderTest.php index ce028ce764a..ca7ba254ab9 100644 --- a/tests/lib/OCS/ProviderTest.php +++ b/tests/lib/OCS/ProviderTest.php @@ -8,6 +8,7 @@ namespace Test\OCS; use OC\OCS\Provider; +use OCP\AppFramework\Http\JSONResponse; class ProviderTest extends \Test\TestCase { /** @var \OCP\IRequest */ @@ -36,7 +37,7 @@ class ProviderTest extends \Test\TestCase { ['provisioning_api', null, false], ]); - $expected = new \OCP\AppFramework\Http\JSONResponse( + $expected = new JSONResponse( [ 'version' => 2, 'services' => [ @@ -66,7 +67,7 @@ class ProviderTest extends \Test\TestCase { ['provisioning_api', null, false], ]); - $expected = new \OCP\AppFramework\Http\JSONResponse( + $expected = new JSONResponse( [ 'version' => 2, 'services' => [ @@ -109,7 +110,7 @@ class ProviderTest extends \Test\TestCase { ['provisioning_api', null, false], ]); - $expected = new \OCP\AppFramework\Http\JSONResponse( + $expected = new JSONResponse( [ 'version' => 2, 'services' => [ @@ -142,7 +143,7 @@ class ProviderTest extends \Test\TestCase { ->method('isEnabledForUser') ->willReturn(true); - $expected = new \OCP\AppFramework\Http\JSONResponse( + $expected = new JSONResponse( [ 'version' => 2, 'services' => [ |