git-svn-id: file:///home/shish/svn/shimmie2/trunk@1096 7f39781d-f577-437e-ae19-be835c7a54ca
		
			
				
	
	
		
			29 lines
		
	
	
		
			723 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			723 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
class AliasEditorTest extends WebTestCase {
 | 
						|
	function testAliasEditor() {
 | 
						|
		/*
 | 
						|
        $this->get(TEST_BASE.'/admin');
 | 
						|
		$this->assertResponse(403);
 | 
						|
		$this->assertTitle("Permission Denied");
 | 
						|
 | 
						|
		$this->assertText("Login");
 | 
						|
		$this->setField('user', USER_NAME);
 | 
						|
		$this->setField('pass', USER_PASS);
 | 
						|
		$this->click("Log In");
 | 
						|
        $this->get(TEST_BASE.'/admin');
 | 
						|
		$this->assertResponse(403);
 | 
						|
		$this->assertTitle("Permission Denied");
 | 
						|
		$this->click('Log Out');
 | 
						|
 | 
						|
		$this->assertText("Login");
 | 
						|
		$this->setField('user', ADMIN_NAME);
 | 
						|
		$this->setField('pass', ADMIN_PASS);
 | 
						|
		$this->click("Log In");
 | 
						|
        $this->get(TEST_BASE.'/admin');
 | 
						|
		$this->assertTitle("Admin Tools");
 | 
						|
		$this->click('Log Out');
 | 
						|
		*/
 | 
						|
	}
 | 
						|
}
 | 
						|
?>
 |