make get and post endpoints work, update enums to be strings, add log file output
This commit is contained in:
parent
79977f1a18
commit
e762fc2abd
12 changed files with 94 additions and 72 deletions
|
@ -16,7 +16,7 @@ func TestCreateClaimByProductId(t *testing.T) {
|
|||
Ingredients: "flour,egg,milk,water,salt,butter",
|
||||
},
|
||||
Claims: []models.ClaimType{
|
||||
models.ContainsEggs,
|
||||
models.ContainsEgg,
|
||||
models.ContainsMilk,
|
||||
},
|
||||
Counterclaims: []models.ClaimType{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue