diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2026-01-15 16:01:13 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2026-01-15 16:07:29 +0000 |
| commit | 722ac325be10a199c90c32e8045030ca81d3e496 (patch) | |
| tree | 2d2c6ca32254ec6bde278aa9d6a300f16a3de6be /dashboard/app/app_test.go | |
| parent | 5757a3d287e4b35ca77da40c5dab0a29506261cd (diff) | |
dashboard: fix manuallyUpstreamed
The function returned incorrect result when the reporting stage of
interest was completely skipped and never reported.
Diffstat (limited to 'dashboard/app/app_test.go')
| -rw-r--r-- | dashboard/app/app_test.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go index 96861dfa5..cfabcc473 100644 --- a/dashboard/app/app_test.go +++ b/dashboard/app/app_test.go @@ -650,6 +650,12 @@ var testConfig = &GlobalConfig{ DailyLimit: 1000, Config: &TestConfig{Index: 1}, Embargo: 4 * 24 * time.Hour, + Filter: func(bug *Bug) FilterResult { + if bug.Title == "skip reporting1" { + return FilterSkip + } + return FilterReport + }, }, { Name: "reporting2", |
