Skip to content

Commit

Permalink
fix: fixed an issue where directory was specified at the point where …
Browse files Browse the repository at this point in the history
…file should be specified.

Signed-off-by: ytetsuro <[email protected]>
  • Loading branch information
ytetsuro committed Nov 27, 2018
1 parent c8df1ba commit 2b0af13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/system/Cache/Handlers/FileHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ public function __construct()

public function getFileInfoTest()
{
return $this->getFileInfo($this->config->storePath, [
$tmp_handle = tmpfile();
stream_get_meta_data($tmp_handle)['uri'];

return $this->getFileInfo(stream_get_meta_data($tmp_handle)['uri'], [
'name',
'server_path',
'size',
Expand Down

0 comments on commit 2b0af13

Please sign in to comment.