Skip to content

Commit

Permalink
fixup! IBX-7172: loadLocationChildren() not working with multiple obj…
Browse files Browse the repository at this point in the history
…ectstate permissions
  • Loading branch information
vidarl committed Jan 16, 2024
1 parent 9df0868 commit 57fcf5b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ final class ContentFilteringTest extends BaseRepositoryFilteringTestCase
{
protected function setUp(): void
{
$this->getSetupFactory()->getRepository(true);
$this->contentProvider = new TestContentProvider($this->getRepository(true), $this);
parent::setUp();
}

Expand Down Expand Up @@ -387,7 +385,7 @@ public function testObjectStateIdCriterionOnMultipleObjectStates(): void
new Criterion\ParentLocationId(2),
new Criterion\LogicalAnd([
new Criterion\ObjectStateId(1),
new Criterion\ObjectStateId(4),
new Criterion\ObjectStateId($objectStatePrivate->id),
]),
]));

Expand Down

0 comments on commit 57fcf5b

Please sign in to comment.