Unverified Commit fc74d4ac authored by Tarik Gul's avatar Tarik Gul Committed by GitHub
Browse files

feat: validateBooleanMiddleware for controllers (#1023)

* add utility testing functions to util file

* refactor address middleware tests with util functions

* add validateBooleanMiddleware

* validateBooleanMiddleware tests

* export middleware

* add validateBooleanMiddleware to controllers that use it

* fix inline comments

* remove hardcoded values

* fix test

* refactor middleware to be more efficient

* fix query check
parent d67d3a50
Pipeline #214554 passed with stages
in 18 minutes and 21 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment