Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Oct 19, 2022
1 parent 338a67a commit e9d97c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Console/EnvironmentDecryptCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function testItWritesTheEnvironmentFileCustomPath()
->assertExitCode(0);

$this->filesystem->shouldHaveReceived('put')
->with('/tmp/.env.production', 'APP_NAME="Laravel Two"');
->with(DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.'.env.production', 'APP_NAME="Laravel Two"');
}

public function testItWritesTheEnvironmentFileCustomPathAndFilename()
Expand All @@ -269,7 +269,7 @@ public function testItWritesTheEnvironmentFileCustomPathAndFilename()
->assertExitCode(0);

$this->filesystem->shouldHaveReceived('put')
->with('/tmp/.env', 'APP_NAME="Laravel Two"');
->with(DIRECTORY_SEPARATOR.'tmp'.DIRECTORY_SEPARATOR.'.env', 'APP_NAME="Laravel Two"');
}

public function testItCannotOverwriteEncryptedFiles()
Expand Down

0 comments on commit e9d97c7

Please sign in to comment.