-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix (and test) some /server/audit query parameters (#3362)
* Fix (and test) some /server/audit query parameters PBENCH-1118 On a whim I created an admin user (which we don't routinely do) and tried some audit log queries. Turns out that I wasn't really thinking clearly when I chose "obvious" query parameter names and used them directly in the call to `Audit.query`, because the parameter names don't always match the defined columns or `kwargs`. This fixes the bad names, and adds a bunch of unit test cases to confirm them, which includes some refactoring to do more thorough result checks without a mass of repeated text lines.
- Loading branch information
Showing
2 changed files
with
153 additions
and
50 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