Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8ad1573f
Commit
8ad1573f
authored
Apr 10, 2018
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure hooks run when seeding admin user
parent
fb0bb32f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
db/fixtures/development/01_admin.rb
db/fixtures/development/01_admin.rb
+10
-10
No files found.
db/fixtures/development/01_admin.rb
View file @
8ad1573f
require
'./spec/support/sidekiq'
require
'./spec/support/sidekiq'
Gitlab
::
Seeder
.
quiet
do
Gitlab
::
Seeder
.
quiet
do
User
.
seed
do
|
s
|
User
.
create!
(
s
.
id
=
1
name:
'Administrator'
,
s
.
name
=
'Administrator'
email:
'admin@example.com'
,
s
.
email
=
'admin@example.com'
username:
'root'
,
s
.
notification_email
=
'admin@example.com'
password:
'5iveL!fe'
,
s
.
username
=
'root'
admin:
true
,
s
.
password
=
'5iveL!fe'
confirmed_at:
DateTime
.
now
s
.
admin
=
true
)
s
.
confirmed_at
=
DateTime
.
now
end
print
'.'
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment