Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
Merge tag '1.20.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGeraud committed Nov 20, 2018
2 parents 3147520 + fd594ee commit fa6fce1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Expand Up @@ -46,7 +46,7 @@ public void findAllTest() throws Exception {
Set<Application> applications = applicationRepository.findAll();

assertNotNull(applications);
assertEquals("Fail to resolve application in findAll", 8, applications.size());
assertEquals("Fail to resolve application in findAll", 9, applications.size());
}

@Test
Expand Down
Expand Up @@ -318,6 +318,7 @@ public ApplicationRepository applicationRepository() throws Exception {
mock(Application.class),
mock(Application.class),
mock(Application.class),
mock(Application.class),
mock(Application.class));
when(applicationRepository.findAll()).thenReturn(allApplications);
doAnswer(invocation -> allApplications.remove(application)).when(applicationRepository).delete("deleted-app");
Expand Down
10 changes: 10 additions & 0 deletions src/test/resources/data/application-tests/applications.json
Expand Up @@ -73,5 +73,15 @@
"createdAt": "1439022010883",
"updatedAt": "1439022010883",
"clientId": "my-client-id"
},
{
"id": "app-with-long-client-id",
"name": "app-with-long-client-id",
"description": "Sample searched app",
"type": "Web",
"status": "ACTIVE",
"createdAt": "1439022010883",
"updatedAt": "1439022010883",
"clientId": "01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
}
]

0 comments on commit fa6fce1

Please sign in to comment.