mass edit as its own test
This commit is contained in:
		
							parent
							
								
									70e488a165
								
							
						
					
					
						commit
						f5c4c20f4b
					
				| @ -12,14 +12,6 @@ class TagEditTest extends ShimmieWebTestCase { | |||||||
| 		$this->click("Set"); | 		$this->click("Set"); | ||||||
| 		$this->assert_title("Image $image_id: tagme"); | 		$this->assert_title("Image $image_id: tagme"); | ||||||
| 		$this->log_out(); | 		$this->log_out(); | ||||||
| 
 |  | ||||||
| 		$this->log_in_as_admin(); |  | ||||||
| 		$this->get_page("admin"); |  | ||||||
| 		$this->assert_text("Mass Tag Edit"); // just test it exists
 |  | ||||||
| 		$this->delete_image($image_id); |  | ||||||
| 		$this->log_out(); |  | ||||||
| 
 |  | ||||||
| 		# FIXME: test mass tag editor
 |  | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	function testSourceEdit() { | 	function testSourceEdit() { | ||||||
| @ -46,5 +38,15 @@ class TagEditTest extends ShimmieWebTestCase { | |||||||
| 		$this->delete_image($image_id); | 		$this->delete_image($image_id); | ||||||
| 		$this->log_out(); | 		$this->log_out(); | ||||||
| 	} | 	} | ||||||
|  | 
 | ||||||
|  | 	function testMassEdit() { | ||||||
|  | 		$this->log_in_as_admin(); | ||||||
|  | 		$this->get_page("admin"); | ||||||
|  | 		$this->assert_text("Mass Tag Edit"); // just test it exists
 | ||||||
|  | 		$this->delete_image($image_id); | ||||||
|  | 		$this->log_out(); | ||||||
|  | 
 | ||||||
|  | 		# FIXME: test mass tag editor
 | ||||||
|  | 	} | ||||||
| } | } | ||||||
| ?>
 | ?>
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user