Fix failing test
Created by: Tirokk
Authored by aonomike Merged
🍰 Pullrequest
- Make clearDatabase() await
- Refactor variable declarations for reuse
- Minor refactor on readability of it blocks
Created by: Tirokk
Authored by aonomike Merged