sonarrradarrplexorganizrnginxdashboardmuximuxlandingpagestartpagelandinghtpcserverhomepagesabnzbdheimdallembycouchpotatonzbgetbookmarkapplication-dashboard
		
		
		
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							1.0 KiB
						
					
					
				| <?php | |
| 
 | |
| namespace Faker\Test\Provider; | |
| 
 | |
| use Faker\Factory; | |
| use PHPUnit\Framework\TestCase; | |
| 
 | |
| class LocalizationTest extends TestCase | |
| { | |
|     public function testLocalizedNameProvidersDoNotThrowErrors() | |
|     { | |
|         foreach (glob(__DIR__ . '/../../../src/Faker/Provider/*/Person.php') as $localizedPerson) { | |
|             preg_match('#/([a-zA-Z_]+)/Person\.php#', $localizedPerson, $matches); | |
|             $faker = Factory::create($matches[1]); | |
|             $this->assertNotNull($faker->name(), 'Localized Name Provider ' . $matches[1] . ' does not throw errors'); | |
|         } | |
|     } | |
| 
 | |
|     public function testLocalizedAddressProvidersDoNotThrowErrors() | |
|     { | |
|         foreach (glob(__DIR__ . '/../../../src/Faker/Provider/*/Address.php') as $localizedAddress) { | |
|             preg_match('#/([a-zA-Z_]+)/Address\.php#', $localizedAddress, $matches); | |
|             $faker = Factory::create($matches[1]); | |
|             $this->assertNotNull($faker->address(), 'Localized Address Provider ' . $matches[1] . ' does not throw errors'); | |
|         } | |
|     } | |
| }
 | |
| 
 |