Skip to content

Commit

Permalink
fix(database): repos
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockopp committed Jun 29, 2023
1 parent 0603090 commit 32b076d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion database/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ func TestDatabase_Integration(t *testing.T) {
repoOne := new(library.Repo)
repoOne.SetID(1)
repoOne.SetUserID(1)
repoOne.SetHash("MzM4N2MzMDAtNmY4Mi00OTA5LWFhZDAtNWIzMTlkNTJkODMy")
repoOne.SetOrg("github")
repoOne.SetName("octocat")
repoOne.SetFullName("github/octocat")
Expand All @@ -166,6 +167,7 @@ func TestDatabase_Integration(t *testing.T) {
repoTwo := new(library.Repo)
repoTwo.SetID(2)
repoTwo.SetUserID(1)
repoTwo.SetHash("MzM4N2MzMDAtNmY4Mi00OTA5LWFhZDAtNWIzMTlkNTJkODMy")
repoTwo.SetOrg("github")
repoTwo.SetName("octokitty")
repoTwo.SetFullName("github/octokitty")
Expand Down Expand Up @@ -724,7 +726,7 @@ func testPipelines(t *testing.T, db Interface, repos []*library.Repo) {
two := new(library.Pipeline)
two.SetID(2)
two.SetRepoID(1)
two.SetCommit("48afb5bdc41ad69bf22588491333f7cf71135163")
two.SetCommit("48afb5bdc41ad69bf22588491333f7cf71135164")
two.SetFlavor("large")
two.SetPlatform("docker")
two.SetRef("refs/heads/master")
Expand Down

0 comments on commit 32b076d

Please sign in to comment.