mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-05 15:22:53 +00:00
13 lines
246 B
PHP
13 lines
246 B
PHP
|
<?php
|
||
|
|
||
|
class Sabre_DAV_Exception_PaymentRequiredTest extends PHPUnit_Framework_TestCase {
|
||
|
|
||
|
function testGetHTTPCode() {
|
||
|
|
||
|
$ex = new Sabre_DAV_Exception_PaymentRequired();
|
||
|
$this->assertEquals(402, $ex->getHTTPCode());
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|