Added toggle to show failed tests on graph

re #285
This commit is contained in:
Henry Whitaker
2020-08-28 20:31:32 +01:00
parent dd56a667cd
commit ec56337b99
5 changed files with 56 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ namespace App\Helpers;
use App\Events\TestNotificationEvent;
use App\Setting;
use Cache;
use Carbon\Carbon;
class SettingsHelper {
@@ -53,6 +54,10 @@ class SettingsHelper {
]);
}
if($name == 'show_failed_tests_on_graph') {
Cache::flush();
}
return $setting;
}