Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
ZF-11734: Re-use variables when possible
Browse files Browse the repository at this point in the history
  • Loading branch information
weierophinney committed Sep 14, 2011
1 parent 417a318 commit 8c6fd94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/File/MimeTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function testSetAndGetMagicFile()
$magic = getenv('magic');
if (!empty($magic)) {
$mimetype = $validator->getMagicFile();
$this->assertEquals(getenv('magic'), $mimetype);
$this->assertEquals($magic, $mimetype);
}

$this->setExpectedException('Zend\Validator\Exception\InvalidArgumentException', 'can not be');
Expand Down

0 comments on commit 8c6fd94

Please sign in to comment.