only do ntgvision searches 9-4 EST because 417s mean unauth until forced pw reset
This commit is contained in:
16
broker/ntgvision_test.go
Normal file
16
broker/ntgvision_test.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package broker
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
|
||||
func TestWorkingHoursNTG(t *testing.T) {
|
||||
ntg := NTGVision{}
|
||||
if !ntg.workingHours(time.Date(2022, 1, 27, 12, 0, 0, 0, time.Local)) {
|
||||
t.Fatal("noon MST not ok")
|
||||
}
|
||||
if ntg.workingHours(time.Date(2022, 1, 27, 23, 0, 0, 0, time.Local)) {
|
||||
t.Fatal("midnight MST ok")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user