Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/phpunit/classes/AccessurledituserstourlTest...

47 lines
1.2 KiB

<?php
/**
* Generated by PHPUnit_SkeletonGenerator on 2013-02-17 at 00:39:52.
*/
class AccessurledituserstourlTest extends PHPUnit_Framework_TestCase
{
/**
* @var Accessurledituserstourl
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
ob_start();
require_once dirname(__FILE__).'/../../../main/inc/lib/access_url_edit_users_to_url_functions.lib.php';
require_once dirname(__FILE__).'/../../../main/inc/lib/main_api.lib.php';
$this->object = new Accessurledituserstourl;
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
ob_end_clean();
}
/**
* Generated from @assert () === false.
*
* @covers Accessurledituserstourl::search_users
*/
public function testSearch_users()
{
$this->assertThat(
false,
$this->logicalNot(
$this->equalTo($this->object->search_users(null, null))
)
);
}
}