Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Jun 29, 2024
1 parent 229926e commit 263b44d
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -818,8 +818,8 @@ class ContainerAugmenterTest extends Specification {
def 'should fetch container manifest for legacy image' () {
given:
def REGISTRY = 'quay.io'
def IMAGE = 'biocontainers/fastqc'
def TAG = '0.11.9--0'
def IMAGE = 'biocontainers/smina'
def TAG = '2017.11.9--0'
def registry = lookupService.lookup(REGISTRY)
def creds = credentialsProvider.getDefaultCredentials(REGISTRY)
def httpClient = HttpClientFactory.neverRedirectsHttpClient()
Expand All @@ -840,9 +840,9 @@ class ContainerAugmenterTest extends Specification {
def spec = scanner.getContainerSpec(IMAGE, TAG, WaveDefault.ACCEPT_HEADERS)
then:
spec.registry == 'quay.io'
spec.imageName == 'biocontainers/fastqc'
spec.reference == '0.11.9--0'
spec.digest == 'sha256:319b8d4eca0fc0367d192941f221f7fcd29a6b96996c63cbf8931dbb66e53348'
spec.imageName == 'biocontainers/smina'
spec.reference == '2017.11.9--0'
spec.digest == 'sha256:502e7be073c9ec35b996656a48e9560e05746ad6d98649c56f98af9a724875b4'
and:
spec.isV1()
!spec.isV2()
Expand Down

0 comments on commit 263b44d

Please sign in to comment.