File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
tests/unit/Common/Transport Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -153,15 +153,11 @@ public function test_exception_is_thrown_when_non_stdClass_or_serializable_objec
153
153
$ subParam = $ this ->prophesize (Parameter::class);
154
154
$ subParam ->isArray ()->shouldBeCalled ()->willReturn (false );
155
155
$ subParam ->isObject ()->shouldBeCalled ()->willReturn (true );
156
- $ subParam ->getName ()->shouldBeCalled ()->willReturn ('sub_resource ' );
157
- $ subParam ->getPath ()->shouldBeCalled ()->willReturn ('' );
158
156
159
157
$ param = $ this ->prophesize (Parameter::class);
160
158
$ param ->isArray ()->shouldBeCalled ()->willReturn (false );
161
159
$ param ->isObject ()->shouldBeCalled ()->willReturn (true );
162
160
$ param ->getProperty ('subResource ' )->shouldBeCalled ()->willReturn ($ subParam );
163
- $ param ->getName ()->shouldBeCalled ()->willReturn ('resource ' );
164
- $ param ->getPath ()->shouldBeCalled ()->willReturn ('' );
165
161
166
162
$ userValues = ['subResource ' => new NonSerializableResource ()];
167
163
You can’t perform that action at this time.
0 commit comments