refactor: Divi pages adapter replaces DiviFlags
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -62,7 +62,7 @@ final class DiviSaverTest extends TestCase
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
public function testSavesWithoutKsesForFilteredUsersAndSetsDiviFlags(): void
|
||||
public function testSavesWithoutKsesForFilteredUsersAndSetsThePageFlags(): void
|
||||
{
|
||||
Functions\when('current_user_can')->justReturn(false);
|
||||
Functions\when('has_filter')->justReturn(10);
|
||||
@@ -269,7 +269,7 @@ final class DiviSaverTest extends TestCase
|
||||
(new DiviSaver())->saveNew(42, 'NEU');
|
||||
}
|
||||
|
||||
public function testLibraryItemsGetNoDiviFlagsAndGlobalOnesClearEveryPage(): void
|
||||
public function testLibraryItemsGetNoPageFlagsAndGlobalOnesClearEveryPage(): void
|
||||
{
|
||||
\ET_Core_PageResource::$removed = [];
|
||||
Functions\when('current_user_can')->justReturn(true);
|
||||
|
||||
Reference in New Issue
Block a user