Skip to content

Commit a0ab4f3

Browse files
committed
fix: tests
Signed-off-by: Timur Tuktamyshev <timur.tuktamyshev@flant.com>
1 parent 634e637 commit a0ab4f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/libmirror/images/digests_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ func TestExtractImageDigestsFromDeckhouseInstaller(t *testing.T) {
4747

4848
installersLayout := createOCILayoutWithInstallerImage(t, "nonexistent.registry.com/deckhouse", installerTag, expectedImages)
4949
client := mock.NewRegistryClientMock(t)
50+
client.GetRegistryMock.Return("nonexistent.registry.com")
51+
client.WithSegmentMock.Return(client)
5052
client.CheckImageExistsMock.Return(nil)
5153
images, err := ExtractImageDigestsFromDeckhouseInstaller(
5254
&params.PullParams{BaseParams: params.BaseParams{

0 commit comments

Comments
 (0)