Skip to content

Commit

Permalink
Added fb test hash (publiclab#2965)
Browse files Browse the repository at this point in the history
  • Loading branch information
SidharthBansal authored and jywarren committed Jul 2, 2018
1 parent 4cfc44a commit 6b6f3eb
Showing 1 changed file with 30 additions and 1 deletion.
31 changes: 30 additions & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,18 @@
'email' => 'emila.buffet309@gmail.com'
}
})
#twitter Provider

#facebook Provider
OmniAuth.config.mock_auth[:facebook1] = OmniAuth::AuthHash.new({
'provider' => 'facebook',
'uid' => '1357905002',
'info' => {
'name' => 'sidharth bansal',
'email' => 'bansal.sidharth309@gmail.com'
}
})

#Twitter Provider
OmniAuth.config.mock_auth[:twitter1] = OmniAuth::AuthHash.new({
'provider' => 'twitter',
'uid' => '135798079602',
Expand All @@ -97,6 +108,24 @@
}
})

OmniAuth.config.mock_auth[:facebook2] = OmniAuth::AuthHash.new({
'provider' => 'facebook',
'uid' => '1359988009602',
'info' => {
'name' => 'jeffrey',
'email' => 'jeff@pxlshp.com'
}
})

OmniAuth.config.mock_auth[:facebook3] = OmniAuth::AuthHash.new({
'provider' => 'facebook',
'uid' => '13579992302',
'info' => {
'name' => 'emila buffet',
'email' => 'emila.buffet309@gmail.com'
}
})

OmniAuth.config.mock_auth[:twitter2] = OmniAuth::AuthHash.new({
'provider' => 'twitter',
'uid' => '137898009602',
Expand Down

0 comments on commit 6b6f3eb

Please sign in to comment.