coder / coder/internal

dbauthz tests should be refactored to use a mock database

Open
#869 2 comments 1 reaction 0 assignees View on GitHub
tech-debt tests
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The `dbauthz` tests take a very long time to run since they use a lot of fresh databases.

There's no reason I know of that they couldn't be written to use a mock database, while still testing the authz functionality.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.