This is a clone of issue
OCPBUGS-1678. The following is the description of the original issue:
Description of problem:
pkg/devfile/sample_test.go fails after devfile registry was updated (https://github.com/devfile/registry/pull/126)
OCPBUGS-1677 is about updating our assertion so that the CI job runs successfully again. We might want to backport this as well.
This is about updating the code that the test should use a mock response instead of the latest registry content OR check some specific attributes instead of comparing the full JSON response.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Clone openshift/console
2. Run ./test-backend.sh
Unit tests fail
Unit tests should pass again