hlfw.ca

webbing

Download patch

ref: 3f00959ef22dc6e77ab658fa4d9de891936df09c
parent: 5a15ea3f33e8121abee116d8b23783386af475af
parent: 3535ec107b186149df9a2c31ead008c2d2053ac7
author: Michael Misch <michaelmisch1985@gmail.com>
date: Mon Mar 30 04:25:03 PDT 2020

Merge pull request #11 from olmaxmedical/testing

Testing

--- a/go.mod
+++ b/go.mod
@@ -3,12 +3,7 @@
 go 1.14
 
 require (
-	github.com/olmaxmedical/database v0.0.1 // indirect
-	github.com/olmaxmedical/email v0.0.1 // indirect
 	github.com/olmaxmedical/plugins v0.0.1
-	github.com/olmaxmedical/router v0.0.1
-	github.com/pariz/gountries v0.0.0-20191029140926-233bc78cf5b5 // indirect
-	github.com/stretchr/testify v1.5.1 // indirect
+	github.com/olmaxmedical/router v0.0.2
 	golang.org/x/text v0.3.2
-	gopkg.in/yaml.v2 v2.2.8 // indirect
 )
--- a/go.sum
+++ b/go.sum
@@ -7,10 +7,12 @@
 github.com/olmaxmedical/database v0.0.1/go.mod h1:/5Tl6/p0jpvLpj4GaoFki3wRG/3b+ipNNhM5Dyi6Zf8=
 github.com/olmaxmedical/email v0.0.1 h1:bhOERmPiUmFJqC133s+FFXucSI3dNnfDKsboDYFEbkc=
 github.com/olmaxmedical/email v0.0.1/go.mod h1:bz6en9uc6h9fyu3MW2jTwYW19ZclQ22JkcIxsl3/epc=
-github.com/olmaxmedical/plugins v0.0.1 h1:KT6yy6faKLlDkGDx/RokGm+rsAxzKAzsFtb2zjaWUd8=
-github.com/olmaxmedical/plugins v0.0.1/go.mod h1:XIPHYhbFmjgxwo5ySRHXDK3Ar3Y3vcBW1k//nwMNncA=
-github.com/olmaxmedical/router v0.0.1 h1:0oDsfSoW+lP8g3yzql5QLAQgV4cTy4s+gZH7aJNJex8=
-github.com/olmaxmedical/router v0.0.1/go.mod h1:AM2lewexrBtUWFURwB9exKGvdHRGbKMEb1GL3iHX4js=
+github.com/olmaxmedical/plugins v0.0.1 h1:fON9AAfH635gLKNbytrUdRoRCjhI0ZPP7VFzCVZDVWA=
+github.com/olmaxmedical/plugins v0.0.1/go.mod h1:bHkYv5oh6bk5y1jCZDO9Bk5IyYMPWgZDjMrEifxVgbU=
+github.com/olmaxmedical/router v0.0.1 h1:x3fZ9u00xwKxLvPj8Au0QhIxpmxRv+q2lVMdBmyRQjM=
+github.com/olmaxmedical/router v0.0.1/go.mod h1:28e377pByZCQMBAdERDBhX4wYeTsJgc6U4yOEiz7MsA=
+github.com/olmaxmedical/router v0.0.2 h1:+yMidyoV62PUkVuXjtLYbi77omoqQA/sTfOsmoI2Keg=
+github.com/olmaxmedical/router v0.0.2/go.mod h1:28e377pByZCQMBAdERDBhX4wYeTsJgc6U4yOEiz7MsA=
 github.com/olmaxmedical/session v0.0.1 h1:2xdSjpEg89+ClRFLPp/gR3lNxl4JjPAUd2Hsds++FFs=
 github.com/olmaxmedical/session v0.0.1/go.mod h1:XOVyHL+cKa5t2fLDIJtFxwEzJOa3r1hUkwlL4aybdqA=
 github.com/pariz/gountries v0.0.0-20191029140926-233bc78cf5b5 h1:842t0ixg/A4my8/Q3oDNdHIsKYIx02NDlWVEhaiBToo=
--- /dev/null
+++ b/pages_test.go
@@ -1,0 +1,17 @@
+package pages
+
+import (
+	"testing"
+	
+	"github.com/olmaxmedical/router"
+	_ "github.com/olmaxmedical/pages/doctor"
+	_ "github.com/olmaxmedical/pages/help"
+	_ "github.com/olmaxmedical/pages/patient"
+)
+
+// TestPages largely makes sure we get back real data from every page
+func TestPages(t *testing.T) {
+	if e := router.RunPages(); e != nil {
+		t.Error(e)
+	}
+}
\ No newline at end of file