Тесты: убирать за собой отметку монитора, а не гасить в 0
Оставленная строка в settings изредка ловилась LIKE-проверкой в другом тесте при прогоне с перемешанным порядком (--shuffle)
This commit is contained in:
1 parent
af4409924f
commit
ba18b5e728
1 file changed
+1
-1
@@ -104,6 +104,6 @@ test('присмотр: порог сработал — сообщение ух
|
||||
assertSame($mark, (int) Setting::get('monitor:alert:http.errors', '0'));
|
||||
});
|
||||
|
||||
Setting::set('monitor:alert:http.errors', '0');
|
||||
Setting::forget('monitor:alert:http.errors');
|
||||
Cache::flush();
|
||||
});
|
||||
Reference in new issue
Block a user