mirror of
https://gh.wpcy.net/https://github.com/SilverAssist/wp-github-updater.git
synced 2026-04-25 13:23:08 +08:00
The 3 asset URL resolution tests were checking the $wp_enqueued_scripts mock global directly, which only exists when WordPress Test Suite is not loaded. In CI (with real WordPress), wp_enqueue_script stores scripts in WP_Scripts, causing assertArrayHasKey failures. Added helper methods getEnqueuedScriptSrc() and clearEnqueuedScripts() that work in both mock and real WordPress environments. |
||
|---|---|---|
| .. | ||
| fixtures | ||
| Integration | ||
| Unit | ||
| WordPress | ||
| bootstrap.php | ||
| wordpress-mocks.php | ||