Skip to content

Commit c8b51dc

Browse files
committed
domain fix
1 parent 0142c1f commit c8b51dc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

test/ssl.bats

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ function setup {
2323
sleep 1
2424

2525
# THEN
26-
assert_301 test.nginx-proxy.bats
27-
assert_200_https test.nginx-proxy.bats
26+
assert_301 nginx-proxy.bats
27+
assert_200_https nginx-proxy.bats
2828
}
2929

3030
@test "[$TEST_FILE] test HTTPS_METHOD=nohttp" {
@@ -36,8 +36,8 @@ function setup {
3636
sleep 1
3737

3838
# THEN
39-
assert_503 test.nginx-proxy.bats
40-
assert_200_https test.nginx-proxy.bats
39+
assert_503 nginx-proxy.bats
40+
assert_200_https nginx-proxy.bats
4141
}
4242

4343
@test "[$TEST_FILE] test HTTPS_METHOD=noredirect" {
@@ -49,8 +49,8 @@ function setup {
4949
sleep 1
5050

5151
# THEN
52-
assert_200 test.nginx-proxy.bats
53-
assert_200_https test.nginx-proxy.bats
52+
assert_200 nginx-proxy.bats
53+
assert_200_https nginx-proxy.bats
5454
}
5555

5656
@test "[$TEST_FILE] test SSL Strict-Transport-Security" {
@@ -62,8 +62,8 @@ function setup {
6262
sleep 1
6363

6464
# THEN
65-
assert_301 test.nginx-proxy.bats
66-
assert_200_https test.nginx-proxy.bats
65+
assert_301 nginx-proxy.bats
66+
assert_200_https nginx-proxy.bats
6767
assert_output -p "Strict-Transport-Security: max-age=31536000"
6868
}
6969

@@ -76,8 +76,8 @@ function setup {
7676
sleep 1
7777

7878
# THEN
79-
assert_200 test.nginx-proxy.bats
80-
assert_200_https test.nginx-proxy.bats
79+
assert_200 nginx-proxy.bats
80+
assert_200_https nginx-proxy.bats
8181
refute_output -p "Strict-Transport-Security: max-age=31536000"
8282
}
8383

0 commit comments

Comments
 (0)