Skip to content

Commit

Permalink
Merge pull request #1690 from shipwright-io/fix/broken-unit-test
Browse files Browse the repository at this point in the history
Fix broken submodule unit test
  • Loading branch information
openshift-merge-bot[bot] authored Sep 26, 2024
2 parents 613ad2a + ee4ae0f commit 812b2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/git/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ var _ = Describe("Git Resource", func() {
})

Context("cloning repositories with submodules", func() {
const exampleRepo = "https://github.com/shipwright-io/website"
const exampleRepo = "https://github.com/shipwright-io/sample-submodule"

It("should Git clone a repository with a submodule", func() {
withTempDir(func(target string) {
Expand All @@ -420,7 +420,7 @@ var _ = Describe("Git Resource", func() {
))).ToNot(HaveOccurred())

Expect(filepath.Join(target, "README.md")).To(BeAnExistingFile())
Expect(filepath.Join(target, "themes", "docsy", "README.md")).To(BeAnExistingFile())
Expect(filepath.Join(target, "src", "sample-go", "README.md")).To(BeAnExistingFile())
})
})
})
Expand Down

0 comments on commit 812b2ed

Please sign in to comment.