Skip to content

Commit

Permalink
Polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nebhale committed Jun 18, 2016
1 parent faef15b commit 94b0f32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,11 @@ public final class AuthorizeByAuthorizationCodeGrantApiRequestTest {
@Test(expected = IllegalStateException.class)
public void noClientId() {
AuthorizeByAuthorizationCodeGrantApiRequest.builder()
.redirectUri("test-redirect-uri")
.state("test-state")
.build();
}

@Test
public void validMax() {
AuthorizeByAuthorizationCodeGrantApiRequest.builder()
.clientId("test-client-id")
.redirectUri("test-redirect-uri")
.state("test-state")
.build();
}

@Test
public void validMin() {
public void valid() {
AuthorizeByAuthorizationCodeGrantApiRequest.builder()
.clientId("test-client-id")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,11 @@ public final class AuthorizeByAuthorizationCodeGrantBrowserRequestTest {
@Test(expected = IllegalStateException.class)
public void noClientId() {
AuthorizeByAuthorizationCodeGrantBrowserRequest.builder()
.scope("test-scope")
.redirectUri("test-redirect-uri")
.build();
}

@Test
public void validMax() {
AuthorizeByAuthorizationCodeGrantBrowserRequest.builder()
.clientId("test-client-id")
.scope("test-scope")
.redirectUri("test-redirect-uri")
.build();
}

@Test
public void validMin() {
public void valid() {
AuthorizeByAuthorizationCodeGrantBrowserRequest.builder()
.clientId("test-client-id")
.build();
Expand Down

0 comments on commit 94b0f32

Please sign in to comment.