diff options
| author | Horus_Arch | 2015-02-26 02:40:52 +0100 |
|---|---|---|
| committer | Horus_Arch | 2015-02-26 02:40:52 +0100 |
| commit | 64ae2edb5a97f05f5592f58422adbc6ac089f9e8 (patch) | |
| tree | b375a73ec6bd0698d27cd01ef4307e62e9c1fa6d /app/fetch_test.go | |
| parent | 49ffcba2c3c4a19d147dd792d7f6c99b7545a491 (diff) | |
| download | statuspage-64ae2edb5a97f05f5592f58422adbc6ac089f9e8.tar.gz | |
Clean up. More backend code. Better UX and design.
Diffstat (limited to 'app/fetch_test.go')
| -rw-r--r-- | app/fetch_test.go | 4 |
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) |
