(t *testing.T)
| 598 | } |
| 599 | |
| 600 | func 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 | } |
nothing calls this directly
no test coverage detected