Update for libbuildpack changes
Check that the app actually deploys when running no internet/proxy tests.
@@ -163,13 +163,14 @@ func AssertUsesProxyDuringStagingIfPresent(fixtureName string) {
Expect(err).To(BeNil())
defer os.Remove(bpFile)
- traffic, err := cutlass.InternetTraffic(
+ traffic, built, err := cutlass.InternetTraffic(
bpDir,
filepath.Join("fixtures", fixtureName),
bpFile,
[]string{"HTTP_PROXY=" + proxy.URL, "HTTPS_PROXY=" + proxy.URL},
)
Expect(err).To(BeNil())
+ Expect(built).To(BeTrue())
destUrl, err := url.Parse(proxy.URL)
Expect(err).To(BeNil())
@@ -191,13 +192,14 @@ func AssertNoInternetTraffic(fixtureName string) {
Expect(err).To(BeNil())
defer os.Remove(bpFile)
- traffic, err := cutlass.InternetTraffic(
+ traffic, built, err := cutlass.InternetTraffic(
bpDir,
filepath.Join("fixtures", fixtureName),
bpFile,
[]string{},
)
Expect(err).To(BeNil())
+ Expect(built).To(BeTrue())
Expect(traffic).To(BeEmpty())
})
}
