Skip to content

Commit

Permalink
Test fix - limit taggable entities to those supported by the entityTa…
Browse files Browse the repository at this point in the history
…g table
  • Loading branch information
colemanw authored and ufundo committed Feb 5, 2025
1 parent 5391e4d commit d90fc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/phpunit/api/v3/EntityTagACLTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function setUp(): void {
* @return array
*/
public function getTagOptions() {
$options = $this->callAPISuccess('Tag', 'getoptions', ['field' => 'used_for']);
$options = $this->callAPISuccess('EntityTag', 'getoptions', ['field' => 'entity_table']);
return $options['values'];
}

Expand Down

0 comments on commit d90fc2b

Please sign in to comment.