Skip to content

Commit b43bd4b

Browse files
committed
fix use of deleted RequestsWrapper in tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent 377d191 commit b43bd4b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/Unit/ClientTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
namespace OCA\SharePoint\Tests\Unit;
2525

2626
use Exception;
27-
use OCA\SharePoint\Helper\RequestsWrapper;
2827
use OCA\SharePoint\ContextsFactory;
2928
use OCA\SharePoint\Client;
3029
use OCA\SharePoint\NotFoundException;
@@ -47,20 +46,16 @@ class SharePointClientTest extends TestCase {
4746

4847
/** @var Client */
4948
protected $client;
50-
/** @var RequestsWrapper|\PHPUnit\Framework\MockObject\MockObject */
51-
protected $requestWrapper;
5249

5350
protected function setUp(): void {
5451
parent::setUp();
5552

5653
$this->contextsFactory = $this->createMock(ContextsFactory::class);
57-
$this->requestWrapper = $this->createMock(RequestsWrapper::class);
5854
$credentials = ['user' => 'foobar', 'password' => 'barfoo'];
5955
$this->documentLibraryTitle = 'Our Docs';
6056

6157
$this->client = new Client(
6258
$this->contextsFactory,
63-
$this->requestWrapper,
6459
'my.sp.server',
6560
$credentials,
6661
[]

0 commit comments

Comments
 (0)