mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 12:03:14 +00:00
30 lines
538 B
PHP
30 lines
538 B
PHP
<?php
|
|
|
|
require_once __DIR__ . '/../PhraseanetPHPUnitAbstract.class.inc';
|
|
|
|
/**
|
|
* Test class for system_url.
|
|
* Generated by PHPUnit on 2011-02-15 at 15:11:59.
|
|
*/
|
|
class system_urlTest extends PhraseanetPHPUnitAbstract
|
|
{
|
|
|
|
/**
|
|
* @var system_url
|
|
*/
|
|
protected $object;
|
|
protected $url = "http://test.example.com?action=test&labourer=bien";
|
|
|
|
public function setUp()
|
|
{
|
|
$this->object = new system_url($this->url);
|
|
}
|
|
|
|
public function testGet_url()
|
|
{
|
|
$this->assertEquals($this->url, $this->object->get_url());
|
|
}
|
|
|
|
}
|
|
|