diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-07-29 15:00:51 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-07-29 15:00:51 -0230 |
| commit | 1ba515c30a004bd265052a10e6ca502daf63f92e (patch) | |
| tree | 99974c28e1aa501bb26ee585571f0b7cf735b296 | |
| parent | c0467b88c2a8a70b15e0ed7549863bafcac266ea (diff) | |
| download | lulu-1ba515c30a004bd265052a10e6ca502daf63f92e.zip | |
fix intermittent failure in interior validation test
| -rw-r--r-- | interior_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/interior_test.go b/interior_test.go index 1e7ec7c..f32d16e 100644 --- a/interior_test.go +++ b/interior_test.go @@ -74,7 +74,7 @@ func TestGetInteriorValidation(t *testing.T) { tpoll(t, func() bool { val, err := c.GetInteriorValidation(id) require.NoError(t, err) - if val.Status.IsFinal() { + if val.Status == InteriorStatusNormalized { require.Equal(t, id, val.Id) validateInteriorValidation(t, val, InteriorStatusNormalized) return true @@ -103,7 +103,6 @@ func TestValidateInteriorBasic(t *testing.T) { } func validateInteriorValidation(t *testing.T, val InteriorValidation, wantStatus InteriorValidationStatus) { - t.Helper() require.Equal(t, wantStatus, val.Status) require.Equal(t, interiorUrl, val.SrcUrl) require.Equal(t, uint(210), val.NPages) |