Commit Graph

13 Commits

Author SHA1 Message Date
aa136c7a4a Test: Use WP_Mock::onActionAdded assertion instead of userFunction for add_action 2025-04-18 18:55:29 +01:00
b2b8af4216 Fix unit test: set up add_action mock before Admin instantiation and use Mockery::type('callable') for callback argument 2025-04-18 18:47:42 +01:00
a0df887d5c Fix: Instantiate Admin before setting add_action mock to use correct object reference 2025-04-18 18:44:29 +01:00
4d69c446db Fix: Use WP_Mock::userFunction for add_action instead of expectActionAdded 2025-04-18 18:41:06 +01:00
4441106963 Fix: Remove unnecessary is_admin mock from AdminTest 2025-04-18 18:36:54 +01:00
6d3aeb889a Fix: Address PHPCS errors and PHPUnit 7.0 Mockery failure 2025-04-18 18:32:13 +01:00
bcdbbb454c Revert: wp_mock to 0.3.0 and remove :void from AdminTest::setUp 2025-04-18 18:25:03 +01:00
3d739915d7 Fix: Add void return type to AdminTest::setUp and revert wp_mock constraint 2025-04-18 18:22:42 +01:00
71c0a77a31 Fix: Update PHPUnit bootstrap and fix comment punctuation 2025-04-18 18:16:31 +01:00
1cf46254b7 Fix: Update test workflow for PHP 7.0 compatibility 2025-04-18 17:42:18 +01:00
bfa528c90e Fix test workflow issues with WP_Mock and PHP 7.0 compatibility 2025-04-18 15:46:16 +01:00
bfac63799b Update to version 0.1.5 with testing setup, multisite compatibility, and npm scripts 2025-04-18 14:32:46 +01:00
c7b590870c Initial commit of WordPress Plugin Starter Template for AI Coding
Some checks failed
Tests / PHP 7.0 (push) Has been cancelled
Tests / PHP 7.4 (push) Has been cancelled
Tests / PHP 8.0 (push) Has been cancelled
Tests / Code Style (push) Has been cancelled
Sync Wiki / Sync Wiki to GitHub (push) Has been cancelled
Release / Build and Release (push) Has been cancelled
2025-04-18 03:09:39 +01:00