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

Commit

Permalink
[#2716] Fix form image captcha test
Browse files Browse the repository at this point in the history
- tearDown() was referencing an invalid property, leading to errors.
  • Loading branch information
weierophinney committed Oct 9, 2012
1 parent 8fce44f commit a435cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ZendTest/Form/View/Helper/Captcha/ImageTest.php
Expand Up @@ -62,7 +62,7 @@ public function setUp()
public function tearDown()
{
// remove captcha images
foreach (new DirectoryIterator($this->testDir) as $file) {
foreach (new DirectoryIterator($this->tmpDir) as $file) {
if (!$file->isDot() && !$file->isDir()) {
unlink($file->getPathname());
}
Expand Down

0 comments on commit a435cf6

Please sign in to comment.