File tree Expand file tree Collapse file tree
tests/unit/Common/Transport Expand file tree Collapse file tree 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
153153 $ subParam = $ this ->prophesize (Parameter::class);
154154 $ subParam ->isArray ()->shouldBeCalled ()->willReturn (false );
155155 $ subParam ->isObject ()->shouldBeCalled ()->willReturn (true );
156- $ subParam ->getName ()->shouldBeCalled ()->willReturn ('sub_resource ' );
157- $ subParam ->getPath ()->shouldBeCalled ()->willReturn ('' );
158156
159157 $ param = $ this ->prophesize (Parameter::class);
160158 $ param ->isArray ()->shouldBeCalled ()->willReturn (false );
161159 $ param ->isObject ()->shouldBeCalled ()->willReturn (true );
162160 $ param ->getProperty ('subResource ' )->shouldBeCalled ()->willReturn ($ subParam );
163- $ param ->getName ()->shouldBeCalled ()->willReturn ('resource ' );
164- $ param ->getPath ()->shouldBeCalled ()->willReturn ('' );
165161
166162 $ userValues = ['subResource ' => new NonSerializableResource ()];
167163
You can’t perform that action at this time.
0 commit comments