sometimes we want test uploads to fail
This commit is contained in:
		
							parent
							
								
									6fdc478b0f
								
							
						
					
					
						commit
						806352c0cb
					
				@ -176,7 +176,9 @@ class ShimmieWebTestCase extends SCoreWebTestCase {
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$this->assertTrue($image_id > 0);
 | 
			
		||||
		// sometimes we want uploading to fail, eg
 | 
			
		||||
		// testing for a blacklist
 | 
			
		||||
		//$this->assertTrue($image_id > 0);
 | 
			
		||||
 | 
			
		||||
		$this->setMaximumRedirects(5);
 | 
			
		||||
		return $image_id;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user