diff options
Diffstat (limited to 'interior_test.go')
| -rw-r--r-- | interior_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/interior_test.go b/interior_test.go index 804e487..1e7ec7c 100644 --- a/interior_test.go +++ b/interior_test.go @@ -2,8 +2,8 @@ package lulu import ( "context" - "testing" _ "embed" + "testing" "github.com/stretchr/testify/require" ) @@ -41,11 +41,11 @@ var interiorValidationRespJson string func TestUnmarshalInteriorValidation(t *testing.T) { t.Parallel() val := InteriorValidation{ - Id: 1, - SrcUrl: "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1", - NPages: 210, - Errors: []string{"Book Size: The book size you selected does not match the page size in the file you uploaded."}, - Status: InteriorStatusValidating, + Id: 1, + SrcUrl: "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1", + NPages: 210, + Errors: []string{"Book Size: The book size you selected does not match the page size in the file you uploaded."}, + Status: InteriorStatusValidating, ValidPkgIds: nil, } requireUnmarshalJsonEq(t, val, interiorValidationRespJson) |