@@ -120,6 +120,13 @@ describe('advanced rpc', () => {
120120 "message": "Perfection is attained, not when there is nothing more to add, but when there is nothing left to take away.",
121121 "username": "supabot",
122122 },
123+ {
124+ "channel_id": 3,
125+ "data": null,
126+ "id": 3,
127+ "message": "Some message on channel without details",
128+ "username": "supabot",
129+ },
123130 {
124131 "channel_id": 3,
125132 "data": null,
@@ -192,6 +199,13 @@ describe('advanced rpc', () => {
192199 "message": "Perfection is attained, not when there is nothing more to add, but when there is nothing left to take away.",
193200 "username": "supabot",
194201 },
202+ {
203+ "channel_id": 3,
204+ "data": null,
205+ "id": 3,
206+ "message": "Some message on channel without details",
207+ "username": "supabot",
208+ },
195209 {
196210 "channel_id": 3,
197211 "data": null,
@@ -240,6 +254,13 @@ describe('advanced rpc', () => {
240254 "message": "Perfection is attained, not when there is nothing more to add, but when there is nothing left to take away.",
241255 "username": "supabot",
242256 },
257+ {
258+ "channel_id": 3,
259+ "data": null,
260+ "id": 3,
261+ "message": "Some message on channel without details",
262+ "username": "supabot",
263+ },
243264 {
244265 "channel_id": 3,
245266 "data": null,
@@ -288,6 +309,13 @@ describe('advanced rpc', () => {
288309 "message": "Perfection is attained, not when there is nothing more to add, but when there is nothing left to take away.",
289310 "username": "supabot",
290311 },
312+ {
313+ "channel_id": 3,
314+ "data": null,
315+ "id": 3,
316+ "message": "Some message on channel without details",
317+ "username": "supabot",
318+ },
291319 {
292320 "channel_id": 3,
293321 "data": null,
@@ -328,6 +356,13 @@ describe('advanced rpc', () => {
328356 "message": "Some message on channel without details",
329357 "username": "supabot",
330358 },
359+ {
360+ "channel_id": 3,
361+ "data": null,
362+ "id": 3,
363+ "message": "Some message on channel without details",
364+ "username": "supabot",
365+ },
331366 {
332367 "channel_id": 2,
333368 "data": null,
@@ -369,6 +404,13 @@ describe('advanced rpc', () => {
369404 "message": "Some message on channel without details",
370405 "username": "supabot",
371406 },
407+ {
408+ "channel_id": 3,
409+ "data": null,
410+ "id": 3,
411+ "message": "Some message on channel without details",
412+ "username": "supabot",
413+ },
372414 {
373415 "channel_id": 2,
374416 "data": null,
@@ -405,6 +447,14 @@ describe('advanced rpc', () => {
405447 {
406448 "count": null,
407449 "data": [
450+ {
451+ "channel_id": 3,
452+ "message": "Some message on channel without details",
453+ "users": {
454+ "catchphrase": "'cat' 'fat'",
455+ "username": "supabot",
456+ },
457+ },
408458 {
409459 "channel_id": 3,
410460 "message": "Some message on channel without details",
@@ -673,6 +723,13 @@ describe('advanced rpc', () => {
673723 "message": "Perfection is attained, not when there is nothing more to add, but when there is nothing left to take away.",
674724 "username": "supabot",
675725 },
726+ {
727+ "channel_id": 3,
728+ "data": null,
729+ "id": 3,
730+ "message": "Some message on channel without details",
731+ "username": "supabot",
732+ },
676733 {
677734 "channel_id": 3,
678735 "data": null,
@@ -1101,6 +1158,13 @@ describe('advanced rpc', () => {
11011158 "status": "ONLINE",
11021159 "username": "awailas",
11031160 },
1161+ {
1162+ "age_range": "[20,30)",
1163+ "catchphrase": "'fat' 'rat'",
1164+ "data": null,
1165+ "status": "ONLINE",
1166+ "username": "dragarcia",
1167+ },
11041168 {
11051169 "age_range": "[20,30)",
11061170 "catchphrase": "'json' 'test'",
@@ -1115,27 +1179,6 @@ describe('advanced rpc', () => {
11151179 "status": "ONLINE",
11161180 "username": "jsonuser",
11171181 },
1118- {
1119- "age_range": null,
1120- "catchphrase": null,
1121- "data": null,
1122- "status": "ONLINE",
1123- "username": "a",
1124- },
1125- {
1126- "age_range": null,
1127- "catchphrase": null,
1128- "data": null,
1129- "status": "ONLINE",
1130- "username": "b",
1131- },
1132- {
1133- "age_range": "[20,30)",
1134- "catchphrase": "'fat' 'rat'",
1135- "data": null,
1136- "status": "ONLINE",
1137- "username": "dragarcia",
1138- },
11391182 ],
11401183 "error": null,
11411184 "status": 200,
@@ -1289,6 +1332,10 @@ test('RPC call with subselect and computed field', async () => {
12891332 "blurb_message": "Som",
12901333 "message": "Some message on channel without details",
12911334 },
1335+ {
1336+ "blurb_message": "Som",
1337+ "message": "Some message on channel without details",
1338+ },
12921339 ],
12931340 "error": null,
12941341 "status": 200,
0 commit comments