-
Notifications
You must be signed in to change notification settings - Fork 0
updateGamePlayLogEndTimeの実装 #1409
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Migrate lint ✅ Lint output |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
Migrate lint ✅ Lint output |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1409 +/- ##
==========================================
+ Coverage 50.95% 52.38% +1.42%
==========================================
Files 136 136
Lines 12090 9858 -2232
==========================================
- Hits 6161 5164 -997
+ Misses 5619 4382 -1237
- Partials 310 312 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ikura-hamu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1個だけお願いします。あとPRの名前を意味があるものに直しておいてください
| err = db. | ||
| First(&updatedLog, "id = ?", uuid.UUID(testCase.playLogID)).Error | ||
| assert.NoError(t, err) | ||
| assert.WithinDuration(t, testCase.endTime, updatedLog.EndTime.Time, time.Second) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
他のフィールドに変更が入ってしまっていないかも確かめてください
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ありがとう、マージしちゃってください
issueもcloseしてください
User description
#1345
新たにブランチを作り変更を加えました
PR Type
Enhancement, Tests
Description
終了時刻更新の実装を追加
レコード未更新時のエラー対応
終了時刻更新の統合テスト追加
テスト用データセット構築を実装
Diagram Walkthrough
File Walkthrough
v2_game_play_log.go
終了時刻更新の実装と未更新時の判定src/repository/gorm2/v2_game_play_log.go
v2_game_play_log_test.go
UpdateGamePlayLogEndTimeの正常・異常系テスト追加src/repository/gorm2/v2_game_play_log_test.go