Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jan 2, 2019
1 parent 955da04 commit faa150b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/Dotenv/DotenvTest.php
Expand Up @@ -291,10 +291,10 @@ public function testDotenvAssertions()
$dotenv->required([
'ASSERTVAR1',
'ASSERTVAR4',
'ASSERTVAR6',
'ASSERTVAR5',
'ASSERTVAR7',
'ASSERTVAR8',
])->notEmpty()->allowedValues(['0', 'val1', '#foo']);
])->notEmpty()->allowedValues(['0', 'val1', 'val3', '#foo']);

$this->assertTrue(true); // anything wrong an an exception will be thrown
}
Expand Down
4 changes: 3 additions & 1 deletion tests/fixtures/env/assertions.env
Expand Up @@ -6,6 +6,8 @@ ASSERTVAR5=#foo
ASSERTVAR6="val1
val2"
ASSERTVAR7="
val3"
val3" #
ASSERTVAR8="val3
"
ASSERTVAR9="
"

0 comments on commit faa150b

Please sign in to comment.