First crack
This commit is contained in:
9
test/fixtures/application_groups.yml
vendored
Normal file
9
test/fixtures/application_groups.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
application: one
|
||||
group: one
|
||||
|
||||
two:
|
||||
application: two
|
||||
group: two
|
||||
21
test/fixtures/applications.yml
vendored
Normal file
21
test/fixtures/applications.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
slug: MyString
|
||||
app_type: MyString
|
||||
client_id: MyString
|
||||
client_secret: MyString
|
||||
redirect_uris: MyText
|
||||
metadata: MyText
|
||||
active: false
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
slug: MyString
|
||||
app_type: MyString
|
||||
client_id: MyString
|
||||
client_secret: MyString
|
||||
redirect_uris: MyText
|
||||
metadata: MyText
|
||||
active: false
|
||||
9
test/fixtures/groups.yml
vendored
Normal file
9
test/fixtures/groups.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
name: MyString
|
||||
description: MyText
|
||||
|
||||
two:
|
||||
name: MyString
|
||||
description: MyText
|
||||
15
test/fixtures/oidc_access_tokens.yml
vendored
Normal file
15
test/fixtures/oidc_access_tokens.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
token: MyString
|
||||
application: one
|
||||
user: one
|
||||
scope: MyString
|
||||
expires_at: 2025-10-23 16:40:39
|
||||
|
||||
two:
|
||||
token: MyString
|
||||
application: two
|
||||
user: two
|
||||
scope: MyString
|
||||
expires_at: 2025-10-23 16:40:39
|
||||
19
test/fixtures/oidc_authorization_codes.yml
vendored
Normal file
19
test/fixtures/oidc_authorization_codes.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
code: MyString
|
||||
application: one
|
||||
user: one
|
||||
redirect_uri: MyString
|
||||
scope: MyString
|
||||
expires_at: 2025-10-23 16:40:38
|
||||
used: false
|
||||
|
||||
two:
|
||||
code: MyString
|
||||
application: two
|
||||
user: two
|
||||
redirect_uri: MyString
|
||||
scope: MyString
|
||||
expires_at: 2025-10-23 16:40:38
|
||||
used: false
|
||||
9
test/fixtures/user_groups.yml
vendored
Normal file
9
test/fixtures/user_groups.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
user: one
|
||||
group: one
|
||||
|
||||
two:
|
||||
user: two
|
||||
group: two
|
||||
9
test/fixtures/users.yml
vendored
Normal file
9
test/fixtures/users.yml
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<% password_digest = BCrypt::Password.create("password") %>
|
||||
|
||||
one:
|
||||
email_address: one@example.com
|
||||
password_digest: <%= password_digest %>
|
||||
|
||||
two:
|
||||
email_address: two@example.com
|
||||
password_digest: <%= password_digest %>
|
||||
Reference in New Issue
Block a user