-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: delete configured computers (#5397)
Deleting a configured computer resulted in an error, since the associated Authinfo object was not deleted (instead, the "dbcomputer_id" was set to null, which violated a not-null constraint). Deleting computers was already tested, but not deleting a configured computer. This is now tested, as well as that removing a Computer results in removal of the corresponding Authinfo. Since deleting users from the frontend is currently not possible, we do not add a test to check that removing a User results in removal of their Authinfos. Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
- Loading branch information
1 parent
7211f84
commit 3fa81cf
Showing
3 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters