Merge pull request #594 from jesus-dayo/master

Fix pagination in Angular app.js, previously was not working
This commit is contained in:
Alex Theedom 2016-08-11 07:51:47 +01:00 committed by GitHub
commit a8179fa0bc
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
server.contextPath=/StudentDirectory
server.contextPath=/

View File

@ -17,6 +17,7 @@ app.controller('StudentCtrl', ['$scope','StudentService', function ($scope,Stude
paginationPageSizes: [5, 10, 20],
paginationPageSize: paginationOptions.pageSize,
enableColumnMenus:false,
useExternalPagination: true,
columnDefs: [
{ name: 'studentId' },
{ name: 'name' },

View File

@ -19,7 +19,7 @@ import static org.hamcrest.core.IsEqual.equalTo;
@IntegrationTest("server.port:8888")
public class StudentServiceTest {
private static final String ENDPOINT = "http://localhost:8888/StudentDirectory/student/get";
private static final String ENDPOINT = "http://localhost:8888/student/get";
@Test
public void givenRequestForStudents_whenPageIsOne_expectContainsNames() {