Skip to content

Commit

Permalink
Updates test expectation and removes bionic test
Browse files Browse the repository at this point in the history
  • Loading branch information
ForestEckhardt committed Dec 5, 2024
1 parent 0048289 commit 754b335
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion integration.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"builders": [
"paketobuildpacks/builder:buildpackless-base",
"paketobuildpacks/builder-jammy-buildpackless-base"
]
}
7 changes: 4 additions & 3 deletions integration/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,10 +370,11 @@ func testSource(t *testing.T, context spec.G, it spec.S) {
Expect(logs).NotTo(ContainLines(ContainSubstring("Buildpack for Image Labels")))
})
})
context("when source app uses .NET 8", func() {

context("when source app uses .NET 9", func() {
it.Before(func() {
var err error
source, err = occam.Source(filepath.Join("testdata", "source-app-8"))
source, err = occam.Source(filepath.Join("testdata", "source-app-9"))
Expect(err).NotTo(HaveOccurred())
})

Expand All @@ -395,7 +396,7 @@ func testSource(t *testing.T, context spec.G, it spec.S) {
Execute(image.ID)
Expect(err).NotTo(HaveOccurred())

Eventually(container).Should(Serve(ContainSubstring("<title>Home Page - source_app_8</title>")).OnPort(8080))
Eventually(container).Should(Serve(ContainSubstring("<title>Home Page - source_app_9</title>")).OnPort(8080))

Expect(logs).To(ContainLines(ContainSubstring("Buildpack for .NET Core SDK")))
Expect(logs).To(ContainLines(ContainSubstring("Buildpack for ICU")))
Expand Down

0 comments on commit 754b335

Please sign in to comment.