コード例 #1
0
 function test_is_xrds_neither()
 {
     $result = new Auth_Yadis_DiscoveryResult('http://request.uri/');
     $result->normalized_uri = $result->xrds_uri = "http://normalized/";
     $result->content_type = "another/content-type";
     $this->assertTrue(!$result->isXRDS());
 }