mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 20:18:33 -05:00 
			
		
		
		
	Working on tests
This commit is contained in:
		
							parent
							
								
									293e7cbb61
								
							
						
					
					
						commit
						00666132e3
					
				@ -5,7 +5,7 @@ $I->checkIfLogin($I);
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
$I->wantTo('Test all pages load');
 | 
					$I->wantTo('Test all pages load');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Check all language files 
 | 
					// Check all language files
 | 
				
			||||||
$count = $I->grabNumRecords('languages');
 | 
					$count = $I->grabNumRecords('languages');
 | 
				
			||||||
for ($i=1; $i<=$count; $i++) {
 | 
					for ($i=1; $i<=$count; $i++) {
 | 
				
			||||||
    $locale = $I->grabFromDatabase('languages', 'locale', ['id' => $i]);
 | 
					    $locale = $I->grabFromDatabase('languages', 'locale', ['id' => $i]);
 | 
				
			||||||
@ -14,7 +14,7 @@ for ($i=1; $i<=$count; $i++) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Top level navigation
 | 
					// Top level navigation
 | 
				
			||||||
$I->amOnPage('/dashboard');
 | 
					$I->amOnPage('/dashboard?lang=en');
 | 
				
			||||||
$I->see('Total Revenue');
 | 
					$I->see('Total Revenue');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
$I->amOnPage('/clients');
 | 
					$I->amOnPage('/clients');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user