mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-19 05:30:43 +00:00
PRDONE-94: updates from code review feedback added .env test
This commit is contained in:
@ -113,6 +113,21 @@ class QMetaDataVariableInterpreterTest
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
@Test
|
||||
void testDotEnvFile()
|
||||
{
|
||||
QMetaDataVariableInterpreter secretReader = new QMetaDataVariableInterpreter();
|
||||
String key = "CUSTOM_PROPERTY";
|
||||
String value = "ABCD-9876";
|
||||
assertNull(secretReader.interpret("${env.NOT-" + key + "}"));
|
||||
assertEquals(value, secretReader.interpret("${env." + key + "}"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
**
|
||||
*******************************************************************************/
|
||||
|
Reference in New Issue
Block a user