OSDN Git Service

Thanos did someting
[bytom/vapor.git] / vendor / github.com / ipfs / go-ipfs-api / ipns_test.go
diff --git a/vendor/github.com/ipfs/go-ipfs-api/ipns_test.go b/vendor/github.com/ipfs/go-ipfs-api/ipns_test.go
deleted file mode 100644 (file)
index 7137f1d..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-package shell
-
-import (
-       "fmt"
-       "testing"
-       "time"
-)
-
-var examplesHashForIPNS = "/ipfs/Qmbu7x6gJbsKDcseQv66pSbUcAA3Au6f7MfTYVXwvBxN2K"
-var testKey = "self" // feel free to change to whatever key you have locally
-
-func TestPublishDetailsWithKey(t *testing.T) {
-       t.Skip()
-       shell := NewShell("localhost:5001")
-
-       resp, err := shell.PublishWithDetails(examplesHashForIPNS, testKey, time.Second, time.Second, false)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if resp.Value != examplesHashForIPNS {
-               t.Fatalf(fmt.Sprintf("Expected to receive %s but got %s", examplesHash, resp.Value))
-       }
-}
-
-func TestPublishDetailsWithoutKey(t *testing.T) {
-       t.Skip()
-       shell := NewShell("localhost:5001")
-
-       resp, err := shell.PublishWithDetails(examplesHashForIPNS, "", time.Second, time.Second, false)
-       if err != nil {
-               t.Fatal(err)
-       }
-
-       if resp.Value != examplesHashForIPNS {
-               t.Fatalf(fmt.Sprintf("Expected to receive %s but got %s", examplesHash, resp.Value))
-       }
-}