Commit 76826c7 1 parent faa7c1b commit 76826c7 Copy full SHA for 76826c7
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ protected function setUp(): void {
21
21
'string '
22
22
)
23
23
);
24
- $ this ->$ message = new XML_RPC_Message (
24
+ $ this ->message = new XML_RPC_Message (
25
25
'weblogUpdates.ping ' ,
26
26
$ args
27
27
);
28
- $ this ->$ message ->createPayload ();
28
+ $ this ->message ->createPayload ();
29
29
}
30
30
31
31
#[Test]
@@ -44,7 +44,7 @@ public function test_serendipity_xml_rpc_message()
44
44
</params> \r
45
45
</methodCall> \r
46
46
" ;
47
- $ this ->assertEquals ($ expected , $ this ->$ message ->payload );
47
+ $ this ->assertEquals ($ expected , $ this ->message ->payload );
48
48
}
49
49
50
50
#[Test]
@@ -58,15 +58,15 @@ public function test_serendipity_xml_rpc_response_valid()
58
58
</params>
59
59
</methodResponse> " ;
60
60
61
- $ xmlrpc_result = $ this ->$ message ->parseResponse ($ example_response );
61
+ $ xmlrpc_result = $ this ->message ->parseResponse ($ example_response );
62
62
$ this ->assertEquals ($ example_response , $ xmlrpc_result ->serialize ());
63
63
}
64
64
#[Test]
65
65
public function test_serendipity_xml_rpc_response_invalid ()
66
66
{
67
67
$ example_response = "some non-xml response " ;
68
68
69
- $ xmlrpc_result = $ this ->$ message ->parseResponse ($ example_response );
69
+ $ xmlrpc_result = $ this ->message ->parseResponse ($ example_response );
70
70
$ this ->assertEquals (2 , $ xmlrpc_result ->faultCode ());
71
71
}
72
72
You can’t perform that action at this time.
0 commit comments