This check was not important anymore; we're only interested if
the API returns a matching commit for each binary.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -20,15 +20,12 @@ func TestInfoBinaryCommits(t *testing.T) {
|
| 20 | 20 |
assert.NilError(t, err) |
| 21 | 21 |
|
| 22 | 22 |
assert.Check(t, "N/A" != info.ContainerdCommit.ID) |
| 23 |
- assert.Check(t, is.Equal(testEnv.DaemonInfo.ContainerdCommit.Expected, info.ContainerdCommit.Expected)) |
|
| 24 | 23 |
assert.Check(t, is.Equal(info.ContainerdCommit.Expected, info.ContainerdCommit.ID)) |
| 25 | 24 |
|
| 26 | 25 |
assert.Check(t, "N/A" != info.InitCommit.ID) |
| 27 |
- assert.Check(t, is.Equal(testEnv.DaemonInfo.InitCommit.Expected, info.InitCommit.Expected)) |
|
| 28 | 26 |
assert.Check(t, is.Equal(info.InitCommit.Expected, info.InitCommit.ID)) |
| 29 | 27 |
|
| 30 | 28 |
assert.Check(t, "N/A" != info.RuncCommit.ID) |
| 31 |
- assert.Check(t, is.Equal(testEnv.DaemonInfo.RuncCommit.Expected, info.RuncCommit.Expected)) |
|
| 32 | 29 |
assert.Check(t, is.Equal(info.RuncCommit.Expected, info.RuncCommit.ID)) |
| 33 | 30 |
} |
| 34 | 31 |
|