Skip to content

Commit fb9eb94

Browse files
committed
refactor: improve GET /orgConfigs endpoint unit test
Apply the same unit tests when getting data from DB and ES, so we can be sure that this endpoint works same when data comes from both of these sources. The unit test by itself reuses most of the code now, so not need to copy/paste and adjust unit tests for DB and ES. With the current format it's much easier to write new unit tests.
1 parent ee5771e commit fb9eb94

File tree

2 files changed

+170
-202
lines changed

2 files changed

+170
-202
lines changed

0 commit comments

Comments
 (0)