Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalyiegorov committed Nov 24, 2014
1 parent 8efe7d5 commit 4d9f314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/MainTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function testWrite()
mkdir($testDir, 0777);

// Write data to temporary file
$writtenFile = $this->fileService->write('123', $path, $testDir);
$writtenFile = $this->fileService->write('123', basename($path), $testDir);

// Perform test
$this->assertStringEqualsFile($writtenFile, '123');
Expand Down

0 comments on commit 4d9f314

Please sign in to comment.