mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
FIX[BE]: period and adjustment helper to function
This commit is contained in:
@@ -88,6 +88,9 @@ func TestProjectFlockSummary(t *testing.T) {
|
||||
if len(createResp.Data.Kandangs) != 1 || createResp.Data.Kandangs[0].Id != kandangID {
|
||||
t.Fatalf("expected kandang detail to be present, got %+v", createResp.Data.Kandangs)
|
||||
}
|
||||
if createResp.Data.Kandangs[0].Status == "" {
|
||||
t.Fatalf("expected kandang status to be present, got %+v", createResp.Data.Kandangs[0])
|
||||
}
|
||||
if createResp.Data.Period != 1 {
|
||||
t.Fatalf("expected period 1 to be assigned automatically, got %d", createResp.Data.Period)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user