Fix tests

This commit is contained in:
Johannes Grumböck 2020-05-12 23:10:14 +02:00 committed by GitHub
parent d2ee19505b
commit 03db178dc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ func TestTXTRegistry(t *testing.T) {
func testTXTRegistryNew(t *testing.T) {
p := inmemory.NewInMemoryProvider()
_, err := NewTXTRegistry(p, "txt", "", time.Hour)
_, err := NewTXTRegistry(p, "txt", "", "", time.Hour)
require.Error(t, err)
_, err = NewTXTRegistry(p, "", "txt", "", time.Hour)