单元测试修正

This commit is contained in:
thinkphp
2016-06-06 14:29:11 +08:00
parent 0efb5d02fd
commit 936b1e20e9
2 changed files with 4 additions and 4 deletions

View File

@@ -29,6 +29,6 @@ class fileTest extends \PHPUnit_Framework_TestCase
Log::record($record_msg, 'notice');
$logs = Log::getLog();
$this->assertNotFalse(array_search(['type' => 'notice', 'msg' => $record_msg], $logs));
$this->assertNotFalse(array_search($record_msg, $logs['notice']));
}
}