瀏覽代碼

fix unit tests

Olivier Massot 4 年之前
父節點
當前提交
a475b73d50
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      ot_core/Tests/Unit/Service/OpentalentEnvServiceTest.php

+ 0 - 6
ot_core/Tests/Unit/Service/OpentalentEnvServiceTest.php

@@ -14,13 +14,7 @@ class OpentalentEnvServiceTest extends UnitTestCase
      * @test
      */
     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';
-
         $this->assertEquals('https://local.api.opentalent.fr', OpentalentEnvService::get('API_BASE_URI'));
     }
 }