Skip to content

Commit 76c68fd

Browse files
test(models): revert teamCols()/teamRow() is_test_cohort to match reverted SELECT
Follow-on to the blast-radius revert: the shared teamCols()/teamRow() mock helpers still carried is_test_cohort after the SELECT reverted to 6 columns, breaking TestCreateTeam_Branches / TestGetTeamByID_Branches / TestGetTeamByRazorpaySubscriptionID_Branches. Back to 6 columns. Full models -short suite green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ba02de6 commit 76c68fd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dump.rdb

22.2 KB
Binary file not shown.

internal/models/coverage_team_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ func TestNormalizeEmail(t *testing.T) {
2121
}
2222

2323
func teamCols() []string {
24-
return []string{"id", "name", "plan_tier", "stripe_customer_id", "created_at", "default_deployment_ttl_policy", "is_test_cohort"}
24+
return []string{"id", "name", "plan_tier", "stripe_customer_id", "created_at", "default_deployment_ttl_policy"}
2525
}
2626

2727
func teamRow() *sqlmock.Rows {
28-
return sqlmock.NewRows(teamCols()).AddRow(uuid.New(), nil, "free", nil, time.Now(), "auto_24h", false)
28+
return sqlmock.NewRows(teamCols()).AddRow(uuid.New(), nil, "free", nil, time.Now(), "auto_24h")
2929
}
3030

3131
func userCols() []string {

0 commit comments

Comments
 (0)