summaryrefslogtreecommitdiff
path: root/app/fetch_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/fetch_test.go')
-rw-r--r--app/fetch_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/fetch_test.go b/app/fetch_test.go
index b71a3fe..9baf9c8 100644
--- a/app/fetch_test.go
+++ b/app/fetch_test.go
@@ -26,7 +26,7 @@ func TestCheckPage(t *testing.T) {
Monitored: true,
}
h = append(h, host)
- test := CheckPage(h)
+ test := CheckPages(h)
if test == nil {
t.Fatal("Expected slice to be not nil.")
}
@@ -50,7 +50,7 @@ func TestCheckPage(t *testing.T) {
Monitored: true,
}
h2 = append(h2, host2)
- test2 := CheckPage(h2)
+ test2 := CheckPages(h2)
if test2[0].StatusCode != 200 {
t.Errorf("Expected StatusCode 200 instead of %v.\n", test2[0].StatusCode)
t.Logf("Failed test for %v .\n", test2[0].Url)