mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 04:31:28 +00:00
Small fix within TestGetImagesJson
This commit is contained in:
+2
-3
@@ -12,7 +12,6 @@ import (
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"path"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
)
|
||||
@@ -169,8 +168,8 @@ func TestGetImagesJson(t *testing.T) {
|
||||
t.Errorf("Excepted no image Repository, %s found", images2[0].Repository)
|
||||
}
|
||||
|
||||
if images2[0].Id != GetTestImage(runtime).Id {
|
||||
t.Errorf("Retrieved image Id differs, expected %s, received %d", GetTestImage(runtime).Id, images2[0].Id)
|
||||
if images2[0].Id != GetTestImage(runtime).ShortId() {
|
||||
t.Errorf("Retrieved image Id differs, expected %s, received %s", GetTestImage(runtime).ShortId(), images2[0].Id)
|
||||
}
|
||||
|
||||
// filter=a
|
||||
|
||||
Reference in New Issue
Block a user