Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

Commit

Permalink
add more checks to resource server tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkappa committed Jun 1, 2018
1 parent 8598ed3 commit a40bcb3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions auth0/resource_auth0_resource_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ func TestAccResourceServer(t *testing.T) {
Config: testAccResourceServerConfig,
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "name", "Resource Server - Acceptance Test"),
resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "identifier", "https://api.example.com/v2"),
resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "signing_alg", "RS256"),
resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "allow_offline_access", "true"),
resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "token_lifetime", "8600"),
resource.TestCheckResourceAttr("auth0_resource_server.my_resource_server", "skip_consent_for_verifiable_first_party_clients", "true"),
),
},
},
Expand Down

0 comments on commit a40bcb3

Please sign in to comment.