test: Use require over assert in tests where failure should stop execution
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you receive complimentary access to GitLab Duo.
Replaced assert with require in tests where subsequent lines depend on the success of earlier expectations.
Prevents panics caused by continuing after failed expectations.
Edited by 🤖 GitLab Bot 🤖