()
| 140 | } |
| 141 | |
| 142 | func (c *CacheTestSuite) TestGetInexistentCache() { |
| 143 | c.Require().NotNil(githubToolsCache) |
| 144 | c.Require().Len(githubToolsCache.entities, 0) |
| 145 | cachedTools, err := GetGithubToolsCache(c.entity.ID) |
| 146 | c.Require().Error(err) |
| 147 | c.Require().Nil(cachedTools) |
| 148 | } |
| 149 | |
| 150 | func (c *CacheTestSuite) TestSetGithubCredentials() { |
| 151 | credentials := params.ForgeCredentials{ |
nothing calls this directly
no test coverage detected