use test repo within cb_pages_tests

This commit is contained in:
6543 2023-02-11 04:07:21 +01:00
parent 1254d890a0
commit 9b67eca38b
No known key found for this signature in database
GPG Key ID: B8BE6D610E61C862
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ func TestCustomDomainRedirects(t *testing.T) {
func TestRawCustomDomain(t *testing.T) {
log.Println("=== TestRawCustomDomain ===")
// test raw domain response for custom domain branch
resp, err := getTestHTTPSClient().Get("https://raw.localhost.mock.directory:4430/crystal/raw-test/example") // need cb_pages_tests fork
resp, err := getTestHTTPSClient().Get("https://raw.localhost.mock.directory:4430/cb_pages_tests/raw-test/example") // need cb_pages_tests fork
assert.NoError(t, err)
if !assert.NotNil(t, resp) {
t.FailNow()
@ -126,7 +126,7 @@ func TestRawCustomDomain(t *testing.T) {
func TestRawIndex(t *testing.T) {
log.Println("=== TestRawCustomDomain ===")
// test raw domain response for index.html
resp, err := getTestHTTPSClient().Get("https://raw.localhost.mock.directory:4430/crystal/raw-test/@branch-test/index.html") // need cb_pages_tests fork
resp, err := getTestHTTPSClient().Get("https://raw.localhost.mock.directory:4430/cb_pages_tests/raw-test/@branch-test/index.html") // need cb_pages_tests fork
assert.NoError(t, err)
if !assert.NotNil(t, resp) {
t.FailNow()