🌱 Fix failing e2e tests (#696)

The packaging docker image for scorecard has been removed from github
workflow to gcr.io.

This was causing the e2e check failing.

This fix will remove that check and address the failing e2e.
This commit is contained in:
Naveen 2021-07-16 10:38:53 -05:00 committed by GitHub
parent a55d542e0d
commit ca4f963eb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//nolint:dupl // repeating test cases that are slightly different is acceptable
package e2e
import (
@ -43,21 +42,5 @@ var _ = Describe("E2E TEST:Packaging", func() {
Expect(result.Error).Should(BeNil())
Expect(result.Pass).Should(BeTrue())
})
It("Should return use of packaging in CI/CD for scorecard", func() {
l := log{}
checkRequest := checker.CheckRequest{
Ctx: context.Background(),
Client: ghClient,
HTTPClient: httpClient,
RepoClient: nil,
Owner: "ossf",
Repo: "scorecard",
GraphClient: graphClient,
Logf: l.Logf,
}
result := checks.Packaging(&checkRequest)
Expect(result.Error).Should(BeNil())
Expect(result.Pass).Should(BeTrue())
})
})
})