Skip to content

Commit c4a960a

Browse files
committed
Test updates
1 parent dd07aa5 commit c4a960a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

tests/system/Config/BaseConfigTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,13 @@ public function testSetsDefaultValues()
148148

149149
//--------------------------------------------------------------------
150150

151+
/**
152+
* @runInSeparateProcess
153+
* @preserveGlobalState disabled
154+
*/
151155
public function testSetsDefaultValuesEncryption()
152156
{
153-
$dotenv = new DotEnv($this->fixturesFolder, '.env');
157+
$dotenv = new DotEnv($this->fixturesFolder, 'encryption.env');
154158
$dotenv->load();
155159
$config = new \Encryption();
156160

@@ -161,10 +165,6 @@ public function testSetsDefaultValuesEncryption()
161165

162166
//--------------------------------------------------------------------
163167

164-
/**
165-
* @runInSeparateProcess
166-
* @preserveGlobalState disabled
167-
*/
168168
public function testSetsDefaultValuesHex2Bin()
169169
{
170170
$dotenv = new DotEnv($this->fixturesFolder, 'commented.env');

tests/system/Config/fixtures/.env

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,4 @@ SimpleConfig.crew.pilot = Wash
2626
SimpleConfig.crew.comms = true
2727
SimpleConfig.crew.doctor = false
2828

29-
encryption.key=hex2bin:f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6
30-
encryption.driver=OpenSSL
31-
different.key=hex2bin:f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6
3229

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
encryption.key=hex2bin:f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6
2+
encryption.driver=OpenSSL
3+
different.key=hex2bin:f699c7fd18a8e082d0228932f3acd40e1ef5ef92efcedda32842a211d62f0aa6

0 commit comments

Comments
 (0)