Skip to content

Conversation

@jonkafton
Copy link
Contributor

What are the relevant tickets?

N/A

Description (What does it do?)

This PR added a test for the certificate text on resource cards #2623 and provided test factories for the values, however only programs and courses have certification.

This introduces flake on a test that select a resource type at random. This fix sets it to always be a course to ensure values for certification_type.

How can this be tested?

yarn test LearningResourceListCard should pass consistently.

@ChristopherChudzicki
Copy link
Contributor

@jonkafton Sorry slow approve. I'm going to merge this to unblock some other PRs

@ChristopherChudzicki ChristopherChudzicki merged commit e929a4d into main Oct 24, 2025
23 of 25 checks passed
@ChristopherChudzicki ChristopherChudzicki deleted the jk/fix-certificate-test branch October 24, 2025 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants