mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Cache redesign part 1, and add support for alternative links
This commit is contained in:
@@ -52,7 +52,7 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
path: '/testResourceType/testResourceId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry
|
||||
@@ -75,14 +75,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
path: '/testResourceType/testResourceId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
{
|
||||
operation: {
|
||||
op: 'remove',
|
||||
path: '/testResourceType/testResourceId/testField'
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry
|
||||
@@ -203,14 +203,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
path: '/testResourceType/testResourceId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
{
|
||||
operation: {
|
||||
op: 'remove',
|
||||
path: '/testResourceType/testResourceId/testField'
|
||||
},
|
||||
timeAdded: timestampAfterStart
|
||||
timeCompleted: timestampAfterStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry
|
||||
@@ -226,7 +226,7 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
op: 'remove',
|
||||
path: '/testResourceType/testResourceId/testField'
|
||||
},
|
||||
timeAdded: timestampAfterStart
|
||||
timeCompleted: timestampAfterStart
|
||||
},
|
||||
];
|
||||
expect(newState[testJsonPatchResourceType].transactionStartTime).toBeNull();
|
||||
@@ -246,14 +246,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
path: '/testResourceType/testResourceId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
{
|
||||
operation: {
|
||||
op: 'remove',
|
||||
path: '/testResourceType/testResourceId/testField'
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry,
|
||||
@@ -265,14 +265,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
path: '/testResourceType/testResourceAnotherId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
{
|
||||
operation: {
|
||||
op: 'remove',
|
||||
path: '/testResourceType/testResourceAnotherId/testField'
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry
|
||||
@@ -295,14 +295,14 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
path: '/testResourceType/testResourceAnotherId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
{
|
||||
operation: {
|
||||
op: 'remove',
|
||||
path: '/testResourceType/testResourceAnotherId/testField'
|
||||
},
|
||||
timeAdded: timestampBeforeStart
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
];
|
||||
expect(newState[testJsonPatchResourceType].transactionStartTime).toBeNull();
|
||||
|
Reference in New Issue
Block a user