From dd7b7c9c621111a37eb4746bc1a5f88fb2bf7bb8 Mon Sep 17 00:00:00 2001 From: Owen Melbourne Date: Mon, 22 Mar 2021 08:55:19 +0000 Subject: [PATCH] increasing visual diff threshold --- app/Checkers/VisualDiff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Checkers/VisualDiff.php b/app/Checkers/VisualDiff.php index a191eaa..f51d17c 100644 --- a/app/Checkers/VisualDiff.php +++ b/app/Checkers/VisualDiff.php @@ -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;