551f107344
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
420 B
PHP
20 lines
420 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace WPMultiCity\Tests;
|
|
|
|
use WPMultiCity\FieldGroup;
|
|
|
|
final class FieldGroupTest extends TestCase
|
|
{
|
|
public function test_register_attaches_acf_init_action(): void
|
|
{
|
|
FieldGroup::register();
|
|
|
|
self::assertNotFalse(
|
|
has_action('acf/init', [FieldGroup::class, 'do_register']),
|
|
'FieldGroup::register() must hook acf/init'
|
|
);
|
|
}
|
|
}
|