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: remove references to dbtestutil.WillUsePostgres#20436

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 intomainfromremove-willusepostgres
Oct 23, 2025

Conversation

@hugodutka
Copy link
Contributor

Addressescoder/internal#758.

This PR only cleans up dead code, it makes no changes to test logic.

blink-sobotand others added3 commitsOctober 23, 2025 11:49
Since we removed the in-memory database and now only use Postgres,the WillUsePostgres() function always returned true. This commit:- Removes all test skip conditions that checked WillUsePostgres- Removes the WillUsePostgres function from dbtestutil- Simplifies ErrorsWithPG to always call Errors- Marks ErrorsWithInMemDB as deprecated (kept for compatibility)Fixescoder/internal#758Co-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
The in-memory database has been removed, so ErrorsWithInMemDBis no longer needed. This removes:- The ErrorsWithInMemDB function definition from setup_test.go- The single usage of ErrorsWithInMemDB in dbauthz_test.goCo-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
Since we removed the in-memory database, ErrorsWithPG is nowidentical to Errors. This removes:- The ErrorsWithPG function definition from setup_test.go- Replaces the single usage of ErrorsWithPG with ErrorsCo-authored-by: hugodutka <28019628+hugodutka@users.noreply.github.com>
@hugodutkahugodutka marked this pull request as ready for reviewOctober 23, 2025 12:04
@hugodutkahugodutka merged commite62c5db intomainOct 23, 2025
32 checks passed
@hugodutkahugodutka deleted the remove-willusepostgres branchOctober 23, 2025 12:24
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 23, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@hugodutkahugodutka

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@hugodutka@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp