Skip to content

Commit eda87b5

Browse files
fix test (WP-1003)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c001483 commit eda87b5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/Smartling/WP/Controller/VisualConfiguratorPageTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ public function testAjaxDeleteRuleRemovesItem(): void
180180
'propertyPath' => '$.title',
181181
'replacerId' => 'translate',
182182
]);
183+
$manager->saveData(); // persist so loadData() inside ajaxDeleteRule() reloads this exact item
183184
$_POST = ['id' => $id];
184185

185186
$wpProxy = $this->createWpProxy();

0 commit comments

Comments
 (0)