1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/integration/system/uuid_test.go
Brian Goff 13b7d11be1 Remove Schema1 integration test suite
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2019-03-02 10:46:37 -08:00

20 lines
322 B
Go

package system
import (
"context"
"testing"
"github.com/pborman/uuid"
"gotest.tools/assert"
)
func TestUUIDGeneration(t *testing.T) {
defer setupTest(t)()
c := testEnv.APIClient()
info, err := c.Info(context.Background())
assert.NilError(t, err)
id := uuid.Parse(info.ID)
assert.Equal(t, id != nil, true)
}