()
| 673 | } |
| 674 | |
| 675 | func (s *RepoTestSuite) TestGetRepositoryByID() { |
| 676 | repo, err := s.Store.GetRepositoryByID(s.adminCtx, s.Fixtures.Repos[0].ID) |
| 677 | |
| 678 | s.Require().Nil(err) |
| 679 | s.Require().Equal(s.Fixtures.Repos[0].ID, repo.ID) |
| 680 | } |
| 681 | |
| 682 | func (s *RepoTestSuite) TestGetRepositoryByIDInvalidRepoID() { |
| 683 | _, err := s.Store.GetRepositoryByID(s.adminCtx, "dummy-repo-id") |
nothing calls this directly
no test coverage detected