Commit 6169f68
test(discovery): cover the /discover/search self link in the IT that actually runs
The upstream patch adds discoverSearchSelfLinkKeepsScopeAndConfigurationTest to
DiscoveryRestControllerIT, but that class is @ignore'd at class level on dtq-dev
(since eb40d60, unrelated facet-configuration failures), so the test would
never execute here.
- DiscoveryRestControllerIT: add the upstream test verbatim, at the same spot,
so the file stays in step with upstream and future rebases stay clean. The
class-level @ignore is left alone; lifting it is a separate job.
- ClarinDiscoveryRestControllerIT: mirror the same test, in this file's
continuation-indent style. This is the fork's live copy of the discovery ITs
and it runs in CI, so this is where the fix is actually verified. The test
asserts only on $._links.self.href, so it is independent of the fork's
discovery.xml facet/sort customisations.
Fixes dataquest-dev/dspace-customers#934
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 1fe20a7 commit 6169f68
2 files changed
Lines changed: 54 additions & 0 deletions
File tree
- dspace-server-webapp/src/test/java/org/dspace/app/rest
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
1024 | 1051 | | |
1025 | 1052 | | |
1026 | 1053 | | |
| |||
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1265 | 1265 | | |
1266 | 1266 | | |
1267 | 1267 | | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
1268 | 1295 | | |
1269 | 1296 | | |
1270 | 1297 | | |
| |||
0 commit comments