Skip to content

Commit

Permalink
remove also plan scope
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed May 31, 2022
1 parent b3800cb commit 108b721
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Backend/Api/Scope/EntityTest.php
Expand Up @@ -207,6 +207,7 @@ public function testDelete()
// delete all scope references to successful delete an scope
Environment::getService('connection')->executeUpdate('DELETE FROM fusio_app_scope WHERE scope_id = :scope_id', ['scope_id' => $this->id]);
Environment::getService('connection')->executeUpdate('DELETE FROM fusio_user_scope WHERE scope_id = :scope_id', ['scope_id' => $this->id]);
Environment::getService('connection')->executeUpdate('DELETE FROM fusio_plan_scope WHERE scope_id = :scope_id', ['scope_id' => $this->id]);

$response = $this->sendRequest('/backend/scope/' . $this->id, 'DELETE', array(
'User-Agent' => 'Fusio TestCase',
Expand Down

0 comments on commit 108b721

Please sign in to comment.