File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
"net/http"
9
9
"os"
10
10
"path"
11
+ "path/filepath"
11
12
"strings"
12
13
"testing"
13
14
"time"
@@ -75,7 +76,7 @@ func TestExamples(t *testing.T) {
75
76
"aws:region" : awsRegion ,
76
77
},
77
78
ExtraRuntimeValidation : func (t * testing.T , stack integration.RuntimeValidationStackInfo ) {
78
- assertHTTPResult (t , "http://" + stack .Outputs ["websiteUrl " ].(string ), func (body string ) bool {
79
+ assertHTTPResult (t , "http://" + stack .Outputs ["website_url " ].(string ), func (body string ) bool {
79
80
return assert .Contains (t , body , "Hello, Pulumi!" )
80
81
})
81
82
},
@@ -417,7 +418,7 @@ func TestExamples(t *testing.T) {
417
418
418
419
for _ , ex := range tests {
419
420
example := ex
420
- t .Run (example .Dir , func (t * testing.T ) {
421
+ t .Run (filepath . Base ( example .Dir ) , func (t * testing.T ) {
421
422
integration .ProgramTest (t , & example )
422
423
})
423
424
}
You can’t perform that action at this time.
0 commit comments