Permalink
Browse files

Removing incompelete test

  • Loading branch information...
MohamedBassem committed Jul 10, 2015
1 parent f80efa4 commit f02c7c5817bb50851bca66953ff0d2f5f37efb0f
Showing with 0 additions and 8 deletions.
  1. +0 −8 instances_test.go
View
@@ -38,11 +38,3 @@ func TestStartRedisInstance(t *testing.T) {
assert.NotEmpty(t, container.NetworkSettings.Ports["6379/tcp"], "Should have a port mapping for redis port")
forceRemoveContainer(ctx, container.ID)
}
// TODO Mock a database for testing and actually test this function
func TestNewInstance(t *testing.T) {
ctx, _ := Init("config.yml")
creatorIP, creatorHash := "192.168.1.20", "asdasdgsdasdbdfg"
instance, _ := ctx.NewInstance(creatorIP)
forceRemoveContainer(ctx, instance.ContainerID)
}

0 comments on commit f02c7c5

Please sign in to comment.