Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
  • Loading branch information
nathannaveen committed Dec 18, 2023
1 parent 55c9a63 commit 19bf7f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/githubclient/githubclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build integration
//go:build integrationMerge

package githubclient

Expand Down
3 changes: 3 additions & 0 deletions pkg/handler/collector/github/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func TestNewGithubCollector(t *testing.T) {
repoToReleaseTags: map[client.Repo][]TagOrLatest{},
assetSuffixes: defaultAssetSuffixes(),
collectDataSource: mockData,
isRelease: true,
},
wantErr: false,
},
Expand All @@ -205,6 +206,7 @@ func TestNewGithubCollector(t *testing.T) {
repoToReleaseTags: mockLatest,
assetSuffixes: defaultAssetSuffixes(),
collectDataSource: nil,
isRelease: true,
},
wantErr: false,
},
Expand All @@ -223,6 +225,7 @@ func TestNewGithubCollector(t *testing.T) {
repoToReleaseTags: mockTag,
assetSuffixes: defaultAssetSuffixes(),
collectDataSource: nil,
isRelease: true,
},
wantErr: false,
},
Expand Down

0 comments on commit 19bf7f4

Please sign in to comment.