another test
This commit is contained in:
		
							parent
							
								
									c83f872723
								
							
						
					
					
						commit
						8966cc6345
					
				@ -5,10 +5,12 @@ class SiteDescriptionTest extends SCoreWebTestCase {
 | 
				
			|||||||
		$this->get_page('setup');
 | 
							$this->get_page('setup');
 | 
				
			||||||
		$this->assert_title("Shimmie Setup");
 | 
							$this->assert_title("Shimmie Setup");
 | 
				
			||||||
		$this->set_field("_config_site_description", "A Shimmie testbed");
 | 
							$this->set_field("_config_site_description", "A Shimmie testbed");
 | 
				
			||||||
 | 
							$this->set_field("_config_site_keywords", "foo,bar,baz");
 | 
				
			||||||
		$raw = $this->click("Save Settings");
 | 
							$raw = $this->click("Save Settings");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$header = '<meta name="description" content="A Shimmie testbed">';
 | 
							$header = '<meta name="description" content="A Shimmie testbed">';
 | 
				
			||||||
		$this->assertTrue(strpos($raw, $header) > 0);
 | 
							$this->assertTrue(strpos($raw, $header) > 0);
 | 
				
			||||||
 | 
							$this->assertTrue(strpos($raw, "foo") > 0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		$this->log_out();
 | 
							$this->log_out();
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user