mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 05:51:08 +08:00
FIX: ruby bench not working properly
- Remove thin which is no longer supported - Bypass admin api rate limiting in profile environment - Admin password was too short - Run by default in concurrency 1 mode - A skip bundle assets flag to speed up local testing
This commit is contained in:
@ -45,7 +45,7 @@ def create_admin(seq)
|
||||
User.new.tap { |admin|
|
||||
admin.email = "admin@localhost#{seq}.fake"
|
||||
admin.username = "admin#{seq}"
|
||||
admin.password = "password"
|
||||
admin.password = "password12345abc"
|
||||
admin.save!
|
||||
admin.grant_admin!
|
||||
admin.change_trust_level!(TrustLevel[4])
|
||||
|
Reference in New Issue
Block a user