mirror of
https://github.com/mudler/edgevpn.git
synced 2025-10-30 03:21:50 +08:00
⚙️ Add summary to client API
This commit is contained in:
@@ -52,6 +52,13 @@ var _ = Describe("Client", func() {
|
||||
testBucket = randStringBytes(10)
|
||||
})
|
||||
|
||||
It("Summary returns some info", func() {
|
||||
Eventually(func() string {
|
||||
s, _ := c.Summary()
|
||||
return s.NodeID
|
||||
}, 100*time.Second, 1*time.Second).ShouldNot(BeEmpty())
|
||||
})
|
||||
|
||||
It("Puts string data", func() {
|
||||
err := c.Put(testBucket, "foo", "bar")
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
|
||||
Reference in New Issue
Block a user