add composer's vendor directory
This commit is contained in:
parent
01a3860d73
commit
60b094d5fa
745 changed files with 56017 additions and 1 deletions
vendor/bshaffer/oauth2-server-php/test/OAuth2
17
vendor/bshaffer/oauth2-server-php/test/OAuth2/ResponseTest.php
vendored
Normal file
17
vendor/bshaffer/oauth2-server-php/test/OAuth2/ResponseTest.php
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
namespace OAuth2;
|
||||
|
||||
class ResponseTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testRenderAsXml()
|
||||
{
|
||||
$response = new Response(array(
|
||||
'foo' => 'bar',
|
||||
'halland' => 'oates',
|
||||
));
|
||||
|
||||
$string = $response->getResponseBody('xml');
|
||||
$this->assertContains('<response><foo>bar</foo><halland>oates</halland></response>', $string);
|
||||
}
|
||||
}
|
Reference in a new issue