Commit Graph

56 Commits

Author SHA1 Message Date
Vladimir Bryzgalov e0b87dde0c feat(wpmc S2): PostType::register() attaches init hook
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 17:42:06 +05:00
Vladimir Bryzgalov cb9cbddce3 chore(wpmc S2): remove unused Brain\Monkey\Actions import 2026-05-12 17:40:58 +05:00
Vladimir Bryzgalov b06ea9e605 feat(wpmc S2): register taxonomy town with required args
Also stub translation functions in base TestCase so __() calls from
WPMultiCity namespace resolve correctly via Brain Monkey.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 17:37:29 +05:00
Vladimir Bryzgalov 53a784bbe8 feat(wpmc S2): Taxonomy::register() attaches init hook
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 17:36:26 +05:00
Vladimir Bryzgalov 945ae898ac fix(wpmc S2): drop redundant Mockery::close from TestCase teardown
Brain\Monkey\tearDown() already calls Mockery::close internally;
calling it explicitly duplicates the close.
2026-05-12 17:34:47 +05:00
Vladimir Bryzgalov d98499dbb2 test(wpmc S2): setup PHPUnit + Brain Monkey + Mockery 2026-05-12 17:31:53 +05:00