From 4a33683443703f3ef06c8ec3d1dc7bcffb8a792d Mon Sep 17 00:00:00 2001 From: Tommi Virtanen Date: Wed, 20 May 2015 10:16:56 -0700 Subject: [PATCH] core tests: Stop assuming internals of Config License: MIT Signed-off-by: Tommi Virtanen --- core/core_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/core_test.go b/core/core_test.go index d91b9992d..42568b4c0 100644 --- a/core/core_test.go +++ b/core/core_test.go @@ -16,9 +16,6 @@ func TestInitialization(t *testing.T) { good := []*config.Config{ { Identity: id, - Datastore: config.Datastore{ - Type: "memory", - }, Addresses: config.Addresses{ Swarm: []string{"/ip4/0.0.0.0/tcp/4001"}, API: "/ip4/127.0.0.1/tcp/8000", @@ -27,10 +24,6 @@ func TestInitialization(t *testing.T) { { Identity: id, - Datastore: config.Datastore{ - Type: "leveldb", - Path: ".testdb", - }, Addresses: config.Addresses{ Swarm: []string{"/ip4/0.0.0.0/tcp/4001"}, API: "/ip4/127.0.0.1/tcp/8000", @@ -40,7 +33,6 @@ func TestInitialization(t *testing.T) { bad := []*config.Config{ {}, - {Datastore: config.Datastore{Type: "memory"}}, } for i, c := range good {