Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore(coderd/database/dbauthz): refactor TestPing, TestNew, TestInTX to use dbmock#19604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 1 commit intomainfromcj/dbauthz-dbmock-remainder
Aug 28, 2025

Conversation

johnstcn
Copy link
Member

@johnstcnjohnstcn commentedAug 28, 2025
edited
Loading

@johnstcnjohnstcn self-assigned thisAug 28, 2025
@johnstcnjohnstcn changed the titlechore(dbauthz): refactor TestPing, TestNew, TestInTX to use dbmockchore(coderd/database/dbauthz): refactor TestPing, TestNew, TestInTX to use dbmockAug 28, 2025
Comment on lines +158 to +159
// This can be removed when all tests in this package are migrated to
// dbmock as it will immediately detect recursive calls.
Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Correct me if I'm wrong, but since you have to specify the number of times a method is called indbmock this should be immediately apparent, no?

Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, I think we should linkcoder/internal#869 in the desc.

johnstcn reacted with thumbs up emoji
@johnstcnjohnstcn merged commit8c731a0 intomainAug 28, 2025
32 checks passed
@johnstcnjohnstcn deleted the cj/dbauthz-dbmock-remainder branchAugust 28, 2025 11:37
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 28, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

@EmyrkEmyrkAwaiting requested review from Emyrk

Assignees

@johnstcnjohnstcn

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@johnstcn@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp