Update the actions tests
This commit is contained in:
parent
e3d68457b3
commit
e38d42d33a
|
@ -79,10 +79,10 @@ func TestMeasurementWorkflow(t *testing.T) {
|
||||||
reportID := sql.NullString{String: "", Valid: false}
|
reportID := sql.NullString{String: "", Valid: false}
|
||||||
testName := "antani"
|
testName := "antani"
|
||||||
resultID := result.ID
|
resultID := result.ID
|
||||||
reportFilePath := tmpdir
|
msmtFilePath := tmpdir
|
||||||
urlID := sql.NullInt64{Int64: 0, Valid: false}
|
urlID := sql.NullInt64{Int64: 0, Valid: false}
|
||||||
|
|
||||||
m1, err := CreateMeasurement(sess, reportID, testName, resultID, reportFilePath, urlID)
|
m1, err := CreateMeasurement(sess, reportID, testName, msmtFilePath, 0, resultID, urlID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
@ -153,10 +153,10 @@ func TestDeleteResult(t *testing.T) {
|
||||||
reportID := sql.NullString{String: "", Valid: false}
|
reportID := sql.NullString{String: "", Valid: false}
|
||||||
testName := "antani"
|
testName := "antani"
|
||||||
resultID := result.ID
|
resultID := result.ID
|
||||||
reportFilePath := tmpdir
|
msmtFilePath := tmpdir
|
||||||
urlID := sql.NullInt64{Int64: 0, Valid: false}
|
urlID := sql.NullInt64{Int64: 0, Valid: false}
|
||||||
|
|
||||||
m1, err := CreateMeasurement(sess, reportID, testName, resultID, reportFilePath, urlID)
|
m1, err := CreateMeasurement(sess, reportID, testName, msmtFilePath, 0, resultID, urlID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user