File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/OpenCloud/Tests/ObjectStore/Upload Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function test_it_uploads_to_a_container()
34
34
$ guzzleMock = $ this ->prophet ->prophesize ('Guzzle\Http\Client ' );
35
35
36
36
$ guzzleMock ->put ($ baseUrl . '/test1 ' , [], Argument::type ('Guzzle\Http\EntityBody ' ))->shouldBeCalled ();
37
- $ guzzleMock ->send (Argument::that (function ($ array ) { return count ($ array ) === 1 ; }))->shouldBeCalled ();
37
+ $ guzzleMock ->send (Argument::that (function ($ array ) { return count ($ array ) === 1 ; }))->shouldBeCalled ();
38
38
39
39
$ containerMock ->getClient ()->willReturn ($ guzzleMock ->reveal ());
40
40
@@ -63,7 +63,7 @@ public function test_it_uploads_to_a_nested_sub_dir_in_a_container()
63
63
$ guzzleMock = $ this ->prophet ->prophesize ('Guzzle\Http\Client ' );
64
64
65
65
$ guzzleMock ->put ($ baseUrl . '/sub-dir/test1 ' , [], Argument::type ('Guzzle\Http\EntityBody ' ))->shouldBeCalled ();
66
- $ guzzleMock ->send (Argument::that (function ($ array ) { return count ($ array ) === 1 ; }))->shouldBeCalled ();
66
+ $ guzzleMock ->send (Argument::that (function ($ array ) { return count ($ array ) === 1 ; }))->shouldBeCalled ();
67
67
68
68
$ containerMock ->getClient ()->willReturn ($ guzzleMock ->reveal ());
69
69
@@ -75,4 +75,4 @@ public function test_it_uploads_to_a_nested_sub_dir_in_a_container()
75
75
76
76
$ sync ->execute ();
77
77
}
78
- }
78
+ }
You can’t perform that action at this time.
0 commit comments