junit: Make Testsuites.ID a required field

This commit is contained in:
Joël Stemmer
2022-05-21 14:28:22 +01:00
parent fb0aeb9fda
commit 9bc291d7ca
47 changed files with 67 additions and 65 deletions

View File

@ -32,6 +32,7 @@ func TestCreateFromReport(t *testing.T) {
Tests: 1,
Failures: 1,
Time: "0.000",
ID: 0,
Testcases: []Testcase{
{
Name: "BenchmarkFail",
@ -64,7 +65,7 @@ func TestMarshalUnmarshal(t *testing.T) {
Errors: 1,
Failures: 1,
Hostname: "localhost",
ID: 1,
ID: 0,
Package: "package",
Skipped: 1,
Time: "12.345",