(expected, actual []params.Instance)
| 62 | } |
| 63 | |
| 64 | func (s *OrgTestSuite) equalInstancesByName(expected, actual []params.Instance) { |
| 65 | s.Require().Equal(len(expected), len(actual)) |
| 66 | |
| 67 | sort.Slice(expected, func(i, j int) bool { return expected[i].Name > expected[j].Name }) |
| 68 | sort.Slice(actual, func(i, j int) bool { return actual[i].Name > actual[j].Name }) |
| 69 | |
| 70 | for i := 0; i < len(expected); i++ { |
| 71 | s.Require().Equal(expected[i].Name, actual[i].Name) |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | func (s *OrgTestSuite) assertSQLMockExpectations() { |
| 76 | err := s.Fixtures.SQLMock.ExpectationsWereMet() |
no outgoing calls
no test coverage detected