File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 2424namespace OCA \SharePoint \Tests \Unit ;
2525
2626use Exception ;
27- use OCA \SharePoint \Helper \RequestsWrapper ;
2827use OCA \SharePoint \ContextsFactory ;
2928use OCA \SharePoint \Client ;
3029use 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 []
You can’t perform that action at this time.
0 commit comments