@@ -354,7 +354,7 @@ mod tests {
354
354
. await ?;
355
355
insta:: assert_snapshot!(
356
356
tester. get_comment( ) . await ?,
357
- @""
357
+ @"@unprivileged-user: :key: Insufficient privileges: not in try users "
358
358
) ;
359
359
Ok ( tester)
360
360
} )
@@ -370,7 +370,7 @@ mod tests {
370
370
tester. post_comment ( "@bors p=2" ) . await ?;
371
371
insta:: assert_snapshot!(
372
372
tester. get_comment( ) . await ?,
373
- @""
373
+ @"@unprivileged-user: :key: Insufficient privileges: not in review users "
374
374
) ;
375
375
Ok ( tester)
376
376
} )
@@ -392,7 +392,7 @@ mod tests {
392
392
tester. post_comment ( "@bors r-" ) . await ?;
393
393
insta:: assert_snapshot!(
394
394
tester. get_comment( ) . await ?,
395
- @""
395
+ @"Commit pr-1-sha has been unapproved "
396
396
) ;
397
397
398
398
tester. default_pr ( ) . await . expect_unapproved ( ) ;
@@ -502,7 +502,7 @@ mod tests {
502
502
tester. post_comment ( "@bors treeclosed=5" ) . await ?;
503
503
insta:: assert_snapshot!(
504
504
tester. get_comment( ) . await ?,
505
- @""
505
+ @"Tree closed for PRs with priority less than 5 "
506
506
) ;
507
507
508
508
let repo = tester. db ( ) . repo_db ( & default_repo_name ( ) ) . await ?;
@@ -533,7 +533,7 @@ mod tests {
533
533
tester. post_comment ( "@bors treeclosed=5" ) . await ?;
534
534
insta:: assert_snapshot!(
535
535
tester. get_comment( ) . await ?,
536
- @""
536
+ @"@default-user: :key: Insufficient privileges: not in review users "
537
537
) ;
538
538
Ok ( tester)
539
539
} )
@@ -569,7 +569,7 @@ mod tests {
569
569
. await ?;
570
570
insta:: assert_snapshot!(
571
571
tester. get_comment( ) . await ?,
572
- @""
572
+ @"@default-user can now approve this pull request "
573
573
) ;
574
574
575
575
tester. default_pr ( ) . await . expect_delegated ( ) ;
@@ -660,7 +660,7 @@ mod tests {
660
660
tester. post_comment ( "@bors delegate+" ) . await ?;
661
661
insta:: assert_snapshot!(
662
662
tester. get_comment( ) . await ?,
663
- @""
663
+ @"@default-user: :key: Insufficient privileges: not in review users "
664
664
) ;
665
665
666
666
assert ! ( tester. default_pr_db( ) . await ?. is_none( ) ) ;
0 commit comments