We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 726b448 commit 254ff10Copy full SHA for 254ff10
1 file changed
_tests/tests_suite_test.go
@@ -37,12 +37,13 @@ func TestTests(t *testing.T) {
37
}
38
39
var (
40
- testAdminUser = fmt.Sprintf("test-admin-%d", rand.Intn(1000))
+ randSuffix = rand.Intn(1000)
41
+ testAdminUser = fmt.Sprintf("test-admin-%d", randSuffix)
42
testAdminPassword = "asdf1234"
- testAdminEmail = fmt.Sprintf("test-admin-%d@deis.io", rand.Intn(1000))
43
- testUser = fmt.Sprintf("test-%d", rand.Intn(1000))
+ testAdminEmail = fmt.Sprintf("test-admin-%d@deis.io", randSuffix)
44
+ testUser = fmt.Sprintf("test-%d", randSuffix)
45
testPassword = "asdf1234"
- testEmail = fmt.Sprintf("test-%d@deis.io", rand.Intn(1000))
46
+ testEmail = fmt.Sprintf("test-%d@deis.io", randSuffix)
47
url = getController()
48
)
49
0 commit comments