Skip to content

Commit

Permalink
Fixing test that was calling method statically
Browse files Browse the repository at this point in the history
  • Loading branch information
levidurfee committed Nov 26, 2016
1 parent b2791fe commit 72e83cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/LogFilenameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ class LogFilenameTest extends PHPUnit_Framework_TestCase
{
public function testCreateFilename()
{
$logFile = new LogFilename;
$expectedResult = date('Y-m-d').'.log';
$result = LogFilename::create('Y-m-d', 'log');
$result = $logFile->create('Y-m-d', 'log');
$this->assertEquals($expectedResult, $result);
}

Expand Down

0 comments on commit 72e83cf

Please sign in to comment.