Project

General

Profile

« Previous | Next » 

Revision 823e4ba8

Added by Greg Sutcliffe over 10 years ago

Fixes #3045 - Skip empty log arrays

View differences:

test/unit/report_test.rb
assert r
end
test "it should import reports where logs is nil" do
r=Report.import read_json_fixture("/../fixtures/report-no-logs.json")
assert r
end
test "when notification is set to true, if report has an error, a mail to admin should be sent" do
setup_for_email_reporting
Setting[:failed_report_email_notification] = true

Also available in: Unified diff