FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added annotations on tests where fileinfo extension will be required; · JavaDevl/framework@e35fc58 · GitHub

Commit e35fc58

Browse files
committed
Added annotations on tests where fileinfo extension will be required;
1 parent 2703f4b commit e35fc58

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎tests/Filesystem/FilesystemTest.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,9 @@ public function testSizeOutputsSize()
205205
@unlink(__DIR__.'/foo.txt');
206206
}
207207

208+
/**
209+
* @requires extension fileinfo
210+
*/
208211
public function testMimeTypeOutputsMimeType()
209212
{
210213
file_put_contents(__DIR__.'/foo.txt', 'foo');

‎tests/Validation/ValidationValidatorTest.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,9 @@ public function testValidateImage()
10241024
$this->assertTrue($v->passes());
10251025
}
10261026

1027+
/**
1028+
* @requires extension fileinfo
1029+
*/
10271030
public function testValidateMimetypes()
10281031
{
10291032
$trans = $this->getRealTranslator();

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL