gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
174 stars 134 forks source link

[Fix] Check clone nonce before use & tabs vs spaces, fixing some E2E tests #2586

Closed brianhogg closed 5 months ago

brianhogg commented 5 months ago

Description

Adds check for new clone nonce before use

Checklist:

github-actions[bot] commented 5 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements 77.18% 328/425
🟑 Branches 68.45% 141/206
🟒 Functions 82.93% 68/82
🟑 Lines 76.68% 319/416

Test suite run success

169 tests passing in 22 suites.

Report generated by πŸ§ͺjest coverage report action from 448b82d515a56d9e9538412f50f1de150a6df488

brianhogg commented 5 months ago

Switching to draft to finish fixing the rest of the E2E tests as one PR. Still needs the PR for the lifterlms-tests repo in order for it to run regardless.

https://github.com/gocodebox/lifterlms-tests/pull/18