Skip to content

Commit

Permalink
increasing visual diff threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenMelbz authored Mar 22, 2021
1 parent b7a688f commit dd7b7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Checkers/VisualDiff.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private function compare()
Storage::disk('screenshots')->path($this->scan->diff_path)
);

$this->scan->diff_found = data_get($diff, 'pixels', 0) > 20;
$this->scan->diff_found = data_get($diff, 'pixels', 0) > 40;
} catch (Exception $exception) {
if (app()->environment('dev')) {
throw $exception;
Expand Down

0 comments on commit dd7b7c9

Please sign in to comment.