Skip to content

Commit 6cd413f

Browse files
authored
Merge pull request #9 from Keloran/updateTests
updated the test location
2 parents 771d813 + 0c06239 commit 6cd413f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

healthcheck_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ func TestHealthCheck_Check(t *testing.T) {
2323
{
2424
request: healthcheck.HealthCheck{
2525
Name: "test1",
26-
URL: "test1.com",
26+
URL: "keloran.dev",
2727
Dependencies: "",
2828
},
2929
expect: healthcheck.Health{
3030
Name: "test1",
31-
URL: "test1.com",
31+
URL: "keloran.dev",
3232
Status: healthcheck.HealthPass,
3333
Dependencies: nil,
3434
},
@@ -37,17 +37,17 @@ func TestHealthCheck_Check(t *testing.T) {
3737
{
3838
request: healthcheck.HealthCheck{
3939
Name: "test2",
40-
URL: "test1.com",
41-
Dependencies: fmt.Sprintf(`{"dependencies":[{"name":"%s","url":"%s","ping":true}]}`, "test1", "test1.com"),
40+
URL: "keloran.dev",
41+
Dependencies: fmt.Sprintf(`{"dependencies":[{"name":"%s","url":"%s","ping":true}]}`, "test1", "keloran.dev"),
4242
},
4343
expect: healthcheck.Health{
4444
Name: "test2",
45-
URL: "test1.com",
45+
URL: "keloran.dev",
4646
Status: healthcheck.HealthPass,
4747
Dependencies: []healthcheck.Health{
4848
{
4949
Name: "test1",
50-
URL: "test1.com",
50+
URL: "keloran.dev",
5151
Status: "pass",
5252
Dependencies: nil,
5353
},

0 commit comments

Comments
 (0)