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':
|
case 'db-password':
|
||||||
return $infoDb['database']['password'];
|
return $infoDb['database']['password'];
|
||||||
break;
|
break;
|
||||||
case 'yes':
|
case 'es-host':
|
||||||
return true;
|
return 'localhost';
|
||||||
break;
|
case 'es-port':
|
||||||
|
return 9200;
|
||||||
|
case 'es-index':
|
||||||
|
return 'phrasea_test';
|
||||||
default:
|
default:
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user