feat: 🎸 add missing array fields to auth method attributes

This commit is contained in:
Randall Morey committed 2021-05-20 18:00:48 -04:00
1 parent 597b945aca
commit fde633331c
4 files changed
+37 -1

No files matched your search

@@ -37,6 +37,16 @@ module('Unit | Serializer | auth method', function (hooks) {
attributes: {
state: 'foo',
account_claim_maps: [{ from: 'foo', to: 'bar' }],
claims_scopes: [{ value: 'profile' }, { value: 'email' }],
signing_algorithms: [{ value: 'RS256' }, { value: 'RS384' }],
allowed_audiences: [
{ value: 'www.alice.com' },
{ value: 'www.alice.com/admin' },
],
idp_ca_certs: [
{ value: 'certificate-1234' },
{ value: 'certificate-5678' },
],
},
});
@@ -48,6 +58,10 @@ module('Unit | Serializer | auth method', function (hooks) {
description: null,
attributes: {
account_claim_maps: ['foo=bar'],
claims_scopes: ['profile', 'email'],
signing_algorithms: ['RS256', 'RS384'],
allowed_audiences: ['www.alice.com', 'www.alice.com/admin'],
idp_ca_certs: ['certificate-1234', 'certificate-5678'],
api_url_prefix: null,
callback_url: null,
client_id: null,