Browse Source

rename old admin user under delete user notification test (#5233)

User notification test uses old hard coden 'admin' user to test. On newer systems with other admin user than 'admin' this test fails: False positive
asmcc 6 days ago
parent
commit
74b6b1e57d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/test.bats

+ 1 - 1
test/test.bats

@@ -514,7 +514,7 @@ function check_ip_not_banned(){
   assert_output --partial "1,\"Test message\",\"Message\",yes"
 }
 @test "User: Delete user notification" {
-  run v-delete-user-notification admin 1
+  run v-delete-user-notification $user 1
   assert_success
   refute_output
 }