diff --git a/test/Makefile b/test/Makefile index 82d1e680..ef6eb4a0 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,9 +1,9 @@ .PHONY: check-has-go install-godog test test-live test-debug test-live-debug export GO111MODULE=on +export BRIDGE_VERSION:=dev-integrationtests export VERBOSITY?=fatal export TEST_DATA=testdata -export VERSION:=dev-integrationtests check-has-go: @which go || (echo "Install Go-lang!" && exit 1) diff --git a/test/main_test.go b/test/main_test.go index f91affb4..7e24cb87 100644 --- a/test/main_test.go +++ b/test/main_test.go @@ -36,7 +36,7 @@ func init() { //nolint[gochecknoinits] godog.BindFlags("godog.", flag.CommandLine, &opt) // This would normally be done using ldflags but `godog` command doesn't support that. - constants.Version = os.Getenv("VERSION") + constants.Version = os.Getenv("BRIDGE_VERSION") } func TestMain(m *testing.M) {