friendica-addons/dav/SabreDAV/tests/Sabre/DAV/Exception/PaymentRequiredTest.php

13 lines
246 B
PHP
Raw Normal View History

2012-06-03 14:19:28 -04:00
<?php
class Sabre_DAV_Exception_PaymentRequiredTest extends PHPUnit_Framework_TestCase {
function testGetHTTPCode() {
$ex = new Sabre_DAV_Exception_PaymentRequired();
$this->assertEquals(402, $ex->getHTTPCode());
}
}