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): migrate TestTemplate to use mocked DB#19304

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
hugodutka merged 3 commits intomainfromhugodutka/dbauthz-mock-6
Aug 14, 2025

Conversation

hugodutka
Copy link
Contributor

@hugodutkahugodutka changed the base branch frommain tohugodutka/dbauthz-mock-5August 11, 2025 18:29
@hugodutkahugodutka requested a review fromEmyrkAugust 11, 2025 18:36
@hugodutkahugodutkaforce-pushed thehugodutka/dbauthz-mock-6 branch fromd2c0096 todced9baCompareAugust 14, 2025 08:09
@hugodutkahugodutka changed the base branch fromhugodutka/dbauthz-mock-5 tomainAugust 14, 2025 08:09
@hugodutka
Copy link
ContributorAuthor

@Parkreiner,@aslilac the review requests went out automatically by mistake when I was rebasing. Sorry for the noise! I don't think you need to review this.

@hugodutkahugodutkaforce-pushed thehugodutka/dbauthz-mock-6 branch froma17ccb6 to81111fbCompareAugust 14, 2025 09:06
@hugodutkahugodutka merged commitaf97b78 intomainAug 14, 2025
26 checks passed
@hugodutkahugodutka deleted the hugodutka/dbauthz-mock-6 branchAugust 14, 2025 09:32
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 14, 2025
Comment on lines +1270 to +1273
tv:=testutil.Fake(s.T(),faker, database.TemplateVersion{})
// uuid.NullUUID{Valid: false} is a zero value. faker overwrites zero values
// with random data, so we need to set TemplateID after faker is done with it.
tv.TemplateID= uuid.NullUUID{Valid:false}
Copy link
Member

Choose a reason for hiding this comment

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

👍

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

@ParkreinerParkreinerAwaiting requested review from Parkreiner

@aslilacaslilacAwaiting requested review from aslilac

Assignees

@hugodutkahugodutka

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugodutka@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp