aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/app_test.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-08-22 19:22:31 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-08-23 14:34:18 +0000
commitc85b7c94212c2220b3f7917315b5ffeeb87a63b4 (patch)
treecb5d646e35fd293420e1b587b85d83c93c169525 /dashboard/app/app_test.go
parentb81ca3f66f8d2d8b397c3c1dc5f14e77c2936b1e (diff)
dashboard: display backport lists
Add a per-namespace page that contains: 1) The list of commits to backport from the trees fuzzed in that namespace. 2) The list of commits to backport into the namespace.
Diffstat (limited to 'dashboard/app/app_test.go')
-rw-r--r--dashboard/app/app_test.go12
1 files changed, 9 insertions, 3 deletions
diff --git a/dashboard/app/app_test.go b/dashboard/app/app_test.go
index 88cb8ac1e..cb34c19bd 100644
--- a/dashboard/app/app_test.go
+++ b/dashboard/app/app_test.go
@@ -293,6 +293,12 @@ var testConfig = &GlobalConfig{
Branch: "access-public-email",
Alias: "access-public-email",
},
+ {
+ // Needed for TestTreeOriginLtsBisection().
+ URL: "https://upstream.repo/repo",
+ Branch: "upstream-master",
+ Alias: "upstream-master",
+ },
},
Reporting: []Reporting{
{
@@ -531,7 +537,7 @@ var testConfig = &GlobalConfig{
},
Reporting: []Reporting{
{
- AccessLevel: AccessUser,
+ AccessLevel: AccessAdmin,
Name: "non-public",
DailyLimit: 1000,
Filter: func(bug *Bug) FilterResult {
@@ -540,8 +546,8 @@ var testConfig = &GlobalConfig{
Config: &TestConfig{Index: 1},
},
{
- AccessLevel: AccessPublic,
- Name: "public",
+ AccessLevel: AccessUser,
+ Name: "user",
DailyLimit: 1000,
Config: &EmailConfig{
Email: "bugs@syzkaller.com",