```ruby
require './spec/support/sidekiq'

Gitlab::Seeder.quiet do
  User.seed do |s|
    s.id = 1
    s.name = 'Administrator'
    s.email = 'admin@example.com'
    s.notification_email = 'admin@example.com'
    s.username = 'root'
    s.password = '5iveL!fe'
    s.admin = true
    s.confirmed_at = DateTime.now
  end
end
```

Make sure hooks run when seeding admin user
user
```ruby
require './spec/support/sidekiq'

Gitlab::Seeder.quiet do
  User.create!(
    name: 'Administrator',
    email: 'admin@example.com',
    username: 'root',
    password: '5iveL!fe',
    admin: true,
    confirmed_at: DateTime.now
  )

  print '.'
end
```
assistant