Skip to content

Commit

Permalink
OXDEV-8216: Fix check if ModuleActivationAuthorized
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelOxid committed Aug 12, 2024
1 parent d484824 commit 9b85983
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Codeception/Acceptance/Module/ModuleActivationCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ public function testModuleActivationAuthorized(AcceptanceTester $I, \Codeception
field: $example['field']
);

$I->assertArrayNotHasKey('errors', $result);
$response = $result['data'][$example['queryName']];
$I->assertTrue($response);
$I->assertNotSame('You do not have sufficient rights to access this field', $result['errors'][0]['message']);
}

private function runModuleMutation(
Expand Down

0 comments on commit 9b85983

Please sign in to comment.