@@ -338,7 +338,7 @@ internal class PostHogTest {
338338 props,
339339 userProperties = userProps,
340340 userPropertiesSetOnce = userPropsOnce,
341- groupProperties = groupProps ,
341+ groups = groups ,
342342 )
343343
344344 queueExecutor.shutdownAndAwaitTermination()
@@ -363,7 +363,7 @@ internal class PostHogTest {
363363 props,
364364 userProperties = userProps,
365365 userPropertiesSetOnce = userPropsOnce,
366- groupProperties = groupProps ,
366+ groups = groups ,
367367 )
368368
369369 queueExecutor.awaitExecution()
@@ -376,7 +376,7 @@ internal class PostHogTest {
376376 props,
377377 userProperties = userProps,
378378 userPropertiesSetOnce = userPropsOnce,
379- groupProperties = groupProps ,
379+ groups = groups ,
380380 )
381381
382382 queueExecutor.shutdownAndAwaitTermination()
@@ -399,7 +399,7 @@ internal class PostHogTest {
399399 props,
400400 userProperties = userProps,
401401 userPropertiesSetOnce = userPropsOnce,
402- groupProperties = groupProps ,
402+ groups = groups ,
403403 )
404404
405405 queueExecutor.shutdownAndAwaitTermination()
@@ -421,7 +421,7 @@ internal class PostHogTest {
421421 assertEquals(" value" , theEvent.properties!! [" prop" ] as String )
422422 assertEquals(userProps, theEvent.properties!! [" \$ set" ])
423423 assertEquals(userPropsOnce, theEvent.properties!! [" \$ set_once" ])
424- assertEquals(groupProps , theEvent.properties!! [" \$ groups" ])
424+ assertEquals(groups , theEvent.properties!! [" \$ groups" ])
425425
426426 sut.close()
427427 }
@@ -438,7 +438,7 @@ internal class PostHogTest {
438438 properties = props,
439439 userProperties = userProps,
440440 userPropertiesSetOnce = userPropsOnce,
441- groupProperties = groupProps ,
441+ groups = groups ,
442442 )
443443
444444 queueExecutor.shutdownAndAwaitTermination()
@@ -570,7 +570,7 @@ internal class PostHogTest {
570570
571571 sut.group(" theType" , " theKey" , groupProps)
572572
573- sut.capture(" test" , groupProperties = mutableMapOf (" theType3" to " theKey3" ))
573+ sut.capture(" test" , groups = mutableMapOf (" theType3" to " theKey3" ))
574574
575575 queueExecutor.shutdownAndAwaitTermination()
576576
@@ -605,7 +605,7 @@ internal class PostHogTest {
605605 props,
606606 userProperties = userProps,
607607 userPropertiesSetOnce = userPropsOnce,
608- groupProperties = groupProps ,
608+ groups = groups ,
609609 )
610610
611611 queueExecutor.shutdownAndAwaitTermination()
@@ -637,7 +637,7 @@ internal class PostHogTest {
637637 props,
638638 userProperties = userProps,
639639 userPropertiesSetOnce = userPropsOnce,
640- groupProperties = groupProps ,
640+ groups = groups ,
641641 )
642642
643643 queueExecutor.shutdownAndAwaitTermination()
@@ -671,7 +671,7 @@ internal class PostHogTest {
671671 props,
672672 userProperties = userProps,
673673 userPropertiesSetOnce = userPropsOnce,
674- groupProperties = groupProps ,
674+ groups = groups ,
675675 )
676676
677677 queueExecutor.shutdownAndAwaitTermination()
@@ -701,7 +701,7 @@ internal class PostHogTest {
701701 props,
702702 userProperties = userProps,
703703 userPropertiesSetOnce = userPropsOnce,
704- groupProperties = groupProps ,
704+ groups = groups ,
705705 )
706706
707707 queueExecutor.shutdownAndAwaitTermination()
@@ -723,7 +723,7 @@ internal class PostHogTest {
723723 assertEquals(" value" , theEvent.properties!! [" prop" ] as String )
724724 assertEquals(userProps, theEvent.properties!! [" \$ set" ])
725725 assertEquals(userPropsOnce, theEvent.properties!! [" \$ set_once" ])
726- assertEquals(groupProps , theEvent.properties!! [" \$ groups" ])
726+ assertEquals(groups , theEvent.properties!! [" \$ groups" ])
727727
728728 sut.close()
729729 }
@@ -743,7 +743,7 @@ internal class PostHogTest {
743743 props,
744744 userProperties = userProps,
745745 userPropertiesSetOnce = userPropsOnce,
746- groupProperties = groupProps ,
746+ groups = groups ,
747747 )
748748
749749 queueExecutor.shutdownAndAwaitTermination()
@@ -765,7 +765,7 @@ internal class PostHogTest {
765765 properties = props,
766766 userProperties = userProps,
767767 userPropertiesSetOnce = userPropsOnce,
768- groupProperties = groupProps ,
768+ groups = groups ,
769769 )
770770
771771 queueExecutor.shutdownAndAwaitTermination()
@@ -913,7 +913,7 @@ internal class PostHogTest {
913913 props,
914914 userProperties = userProps,
915915 userPropertiesSetOnce = userPropsOnce,
916- groupProperties = groupProps ,
916+ groups = groups ,
917917 )
918918
919919 queueExecutor.shutdownAndAwaitTermination()
@@ -946,7 +946,7 @@ internal class PostHogTest {
946946 props,
947947 userProperties = userProps,
948948 userPropertiesSetOnce = userPropsOnce,
949- groupProperties = groupProps ,
949+ groups = groups ,
950950 )
951951
952952 queueExecutor.awaitExecution()
@@ -968,7 +968,7 @@ internal class PostHogTest {
968968 props,
969969 userProperties = userProps,
970970 userPropertiesSetOnce = userPropsOnce,
971- groupProperties = groupProps ,
971+ groups = groups ,
972972 )
973973
974974 queueExecutor.shutdownAndAwaitTermination()
0 commit comments