Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
5760f1c
追加
hikaru-0602 Feb 6, 2026
e121872
リポジトリのモック作成
hikaru-0602 Feb 6, 2026
fbc2ef0
HandlerのAnnouncementテスト追加
hikaru-0602 Feb 6, 2026
74836b2
Announcementテストにカスタムクレームを使用した403エラー検証を追加
hikaru-0602 Feb 8, 2026
3a630f6
Update authentication error assertions in announcement tests to check…
hikaru-0602 Feb 8, 2026
54ab59a
Add developer claim support in announcement list tests
hikaru-0602 Feb 8, 2026
d9bea5d
Add custom claims test case for 403 error in announcement update handler
hikaru-0602 Feb 8, 2026
20ec166
Add developer claim support in announcement creation tests
hikaru-0602 Feb 8, 2026
d1e5c8c
Enhance announcement deletion tests to support developer claims
hikaru-0602 Feb 8, 2026
88ed46e
Refactor announcement tests to improve error handling and structure
hikaru-0602 Feb 8, 2026
bdc58d5
Create時のステータスコードを201に修正
hikaru-0602 Feb 8, 2026
7d82fce
Abortを修正
hikaru-0602 Feb 8, 2026
29f980b
エラーを明示
hikaru-0602 Feb 8, 2026
25add9c
Add WriteHeaderNow call in AnnouncementsV1Delete handler for immediat…
hikaru-0602 Feb 8, 2026
982fdb3
Update internal/handler/announcement_test.go
hikaru-0602 Feb 10, 2026
2ff049e
Merge branch 'main' into feature/handler-announcement-test
hikaru-0602 Feb 10, 2026
a20f047
型修正
hikaru-0602 Feb 10, 2026
38d47ec
Add custom claims support in announcement tests for enhanced permissi…
hikaru-0602 Feb 10, 2026
b39ab96
ゼロでは無いことを検証
hikaru-0602 Feb 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ require (
github.com/joho/godotenv v1.5.1
github.com/oapi-codegen/gin-middleware v1.0.2
github.com/oapi-codegen/runtime v1.1.2
github.com/stretchr/testify v1.11.1
google.golang.org/api v0.231.0
)

Expand All @@ -34,6 +35,7 @@ require (
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/cloudwego/base64x v0.1.6 // indirect
github.com/cncf/xds/go v0.0.0-20250501225837-2ac532fd4443 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
Expand Down Expand Up @@ -72,6 +74,7 @@ require (
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
github.com/perimeterx/marshmallow v1.1.5 // indirect
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/quic-go/qpack v0.5.1 // indirect
github.com/quic-go/quic-go v0.55.0 // indirect
github.com/rogpeppe/go-internal v1.14.1 // indirect
Expand Down
1 change: 1 addition & 0 deletions internal/handler/announcement.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func (h *Handler) AnnouncementsV1Delete(c *gin.Context, id string) {
}

c.Status(http.StatusNoContent)
c.Writer.WriteHeaderNow()
}

// AnnouncementsV1Update 更新する
Expand Down
Loading
Loading