|
@@ -14,13 +14,7 @@ class OpentalentEnvServiceTest extends UnitTestCase
|
|
|
* @test
|
|
* @test
|
|
|
*/
|
|
*/
|
|
|
public function get() {
|
|
public function get() {
|
|
|
- $this->assertEquals('https://api.opentalent.fr', OpentalentEnvService::get('API_BASE_URI'));
|
|
|
|
|
- $this->assertEquals('prod-back', OpentalentEnvService::get('DB_HOST'));
|
|
|
|
|
- $this->assertEquals('dbcloner', OpentalentEnvService::get('DB_USER'));
|
|
|
|
|
- $this->assertEquals('wWZ4hYcrmHLW2mUK', OpentalentEnvService::get('DB_PASSWORD'));
|
|
|
|
|
-
|
|
|
|
|
$GLOBALS['OT']['API_BASE_URI'] = 'https://local.api.opentalent.fr';
|
|
$GLOBALS['OT']['API_BASE_URI'] = 'https://local.api.opentalent.fr';
|
|
|
-
|
|
|
|
|
$this->assertEquals('https://local.api.opentalent.fr', OpentalentEnvService::get('API_BASE_URI'));
|
|
$this->assertEquals('https://local.api.opentalent.fr', OpentalentEnvService::get('API_BASE_URI'));
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|