This commit is contained in:
Simon Zolin
2020-05-21 16:37:52 +03:00
parent 8f9353782b
commit b8a5661277

View File

@@ -16,6 +16,9 @@ func check(t *testing.T, result bool, msg string) {
} }
} }
func testNotify(flags uint32) {
}
// Leases database store/load // Leases database store/load
func TestDB(t *testing.T) { func TestDB(t *testing.T) {
var err error var err error
@@ -28,7 +31,7 @@ func TestDB(t *testing.T) {
RangeEnd: "192.168.10.200", RangeEnd: "192.168.10.200",
GatewayIP: "192.168.10.1", GatewayIP: "192.168.10.1",
SubnetMask: "255.255.255.0", SubnetMask: "255.255.255.0",
notify: notify4, notify: testNotify,
} }
s.srv4, err = v4Create(conf) s.srv4, err = v4Create(conf)
assert.True(t, err == nil) assert.True(t, err == nil)