Skip to content

Commit db6e209

Browse files
author
Nils Langner
committed
Update VisualCeption.php
1 parent 5465cb0 commit db6e209

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/VisualCeption.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private function getDeviation ($identifier, $elementID)
5050

5151
$compareResult = $this->compare($identifier);
5252

53-
#unlink($this->getScreenshotPath($identifier));
53+
unlink($this->getScreenshotPath($identifier));
5454

5555
$deviation = round($compareResult[1] * 100, 2);
5656
$this->debug("The deviation between the images is ". $deviation . " percent");
@@ -220,7 +220,7 @@ private function createScreenshot ($identifier, array $coords)
220220
$screenShotImage->cropImage($coords['width'], $coords['height'], $coords['offset_x'], $coords['offset_y']);
221221
$screenShotImage->writeImage($elementPath);
222222

223-
#unlink($screenshotPath);
223+
unlink($screenshotPath);
224224

225225
return $elementPath;
226226
}

0 commit comments

Comments
 (0)