mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-2814_missing-es-options-for-tests
add options to a testfile that changes conf. todo : fix the test to backup/restore file after test
This commit is contained in:
@@ -78,9 +78,12 @@ class InstallTest extends \PhraseanetTestCase
|
||||
case 'db-password':
|
||||
return $infoDb['database']['password'];
|
||||
break;
|
||||
case 'yes':
|
||||
return true;
|
||||
break;
|
||||
case 'es-host':
|
||||
return 'localhost';
|
||||
case 'es-port':
|
||||
return 9200;
|
||||
case 'es-index':
|
||||
return 'phrasea_test';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user