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