@@ -732,7 +732,11 @@ module(basename(__filename), function () {
732
732
module : `./person` ,
733
733
name : 'Person' ,
734
734
} ,
735
- realmInfo : testRealmInfo ,
735
+ // FIXME see elsewhere… global fix?
736
+ realmInfo : {
737
+ ...testRealmInfo ,
738
+ realmUserId : '@node-test_realm:localhost' ,
739
+ } ,
736
740
realmURL : testRealmURL . href ,
737
741
} ,
738
742
links : {
@@ -1225,8 +1229,6 @@ module(basename(__filename), function () {
1225
1229
assert . deepEqual ( incrementalIndexInitiationEvent ! . content , {
1226
1230
eventName : 'index' ,
1227
1231
indexType : 'incremental-index-initiation' ,
1228
- // FIXME realmURL should not be here…??
1229
- realmURL : 'http://127.0.0.1:4444/' ,
1230
1232
updatedFile : `${ testRealmURL } person-1.json` ,
1231
1233
} ) ;
1232
1234
@@ -1358,8 +1360,6 @@ module(basename(__filename), function () {
1358
1360
assert . deepEqual ( incrementalIndexInitiationEvent ! . content , {
1359
1361
eventName : 'index' ,
1360
1362
indexType : 'incremental-index-initiation' ,
1361
- // FIXME realmURL should not be here…??
1362
- realmURL : 'http://127.0.0.1:4444/' ,
1363
1363
updatedFile : `${ testRealmURL } person-1.json` ,
1364
1364
} ) ;
1365
1365
@@ -1648,8 +1648,6 @@ module(basename(__filename), function () {
1648
1648
assert . deepEqual ( incrementalIndexInitiationEvent ! . content , {
1649
1649
eventName : 'index' ,
1650
1650
indexType : 'incremental-index-initiation' ,
1651
- // FIXME realmURL should not be here…??
1652
- realmURL : 'http://127.0.0.1:4444/' ,
1653
1651
updatedFile : `${ testRealmURL } unused-card.gts` ,
1654
1652
} ) ;
1655
1653
@@ -1782,8 +1780,6 @@ module(basename(__filename), function () {
1782
1780
assert . deepEqual ( incrementalIndexInitiationEvent ! . content , {
1783
1781
eventName : 'index' ,
1784
1782
indexType : 'incremental-index-initiation' ,
1785
- // FIXME why
1786
- realmURL : testRealmURL . href ,
1787
1783
updatedFile : `${ testRealmURL } unused-card.gts` ,
1788
1784
} ) ;
1789
1785
@@ -2004,7 +2000,6 @@ module(basename(__filename), function () {
2004
2000
content : {
2005
2001
eventName : 'index' ,
2006
2002
indexType : 'incremental-index-initiation' ,
2007
- realmURL : testRealmURL . href ,
2008
2003
updatedFile : `${ testRealmURL } test-card.gts` ,
2009
2004
} ,
2010
2005
} ,
@@ -2044,7 +2039,6 @@ module(basename(__filename), function () {
2044
2039
content : {
2045
2040
eventName : 'index' ,
2046
2041
indexType : 'incremental-index-initiation' ,
2047
- realmURL : testRealmURL . href ,
2048
2042
updatedFile : `${ id } .json` ,
2049
2043
} ,
2050
2044
} ,
@@ -2834,7 +2828,10 @@ module(basename(__filename), function () {
2834
2828
data : {
2835
2829
id : testRealmHref ,
2836
2830
type : 'realm-info' ,
2837
- attributes : testRealmInfo ,
2831
+ attributes : {
2832
+ ...testRealmInfo ,
2833
+ realmUserId : '@node-test_realm:localhost' ,
2834
+ } ,
2838
2835
} ,
2839
2836
} ,
2840
2837
'/_info response is correct' ,
0 commit comments