MCPcopy Create free account
hub / github.com/monitoror/monitoror / TestConvertChecks_ID

Function TestConvertChecks_ID

monitorables/github/api/usecase/github_test.go:600–613  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

598}
599
600func TestConvertChecks_ID(t *testing.T) {
601 checks := &models.Checks{
602 Runs: []models.Run{
603 {ID: 12},
604 {ID: 13},
605 },
606 Statuses: []models.Status{
607 {ID: 137},
608 },
609 }
610
611 _, _, _, id := convertChecks(checks)
612 assert.Equal(t, "b103a99f8ef3da68771355b76aa05ccf", id)
613}

Callers

nothing calls this directly

Calls 1

convertChecksFunction · 0.85

Tested by

no test coverage detected