@@ -71,11 +71,11 @@ func setupRestrictedRoom(t *testing.T, deployment *docker.Deployment) (*client.C
7171func checkRestrictedRoom (t * testing.T , alice * client.CSAPI , bob * client.CSAPI , allowed_room string , room string ) {
7272 t .Helper ()
7373
74- t .Run ("JoinShouldFailInitially " , func (t * testing.T ) {
74+ t .Run ("Join should fail initially " , func (t * testing.T ) {
7575 failJoinRoom (t , bob , room , "hs1" )
7676 })
7777
78- t .Run ("JoinShouldSucceedWhenJoinedToAllowedRoom " , func (t * testing.T ) {
78+ t .Run ("Join should succeed when joined to allowed room " , func (t * testing.T ) {
7979 // Join the allowed room, attempt to join the room again, which now should succeed.
8080 bob .JoinRoom (t , allowed_room , []string {"hs1" })
8181 bob .JoinRoom (t , room , []string {"hs1" })
@@ -98,7 +98,7 @@ func checkRestrictedRoom(t *testing.T, alice *client.CSAPI, bob *client.CSAPI, a
9898 )
9999 })
100100
101- t .Run ("JoinShouldFailWhenLeftAllowedRoom " , func (t * testing.T ) {
101+ t .Run ("Join should fail when left allowed room " , func (t * testing.T ) {
102102 // Leaving the room works and the user is unable to re-join.
103103 bob .LeaveRoom (t , room )
104104 bob .LeaveRoom (t , allowed_room )
@@ -117,7 +117,7 @@ func checkRestrictedRoom(t *testing.T, alice *client.CSAPI, bob *client.CSAPI, a
117117 failJoinRoom (t , bob , room , "hs1" )
118118 })
119119
120- t .Run ("JoinShouldSucceedWhenInvited " , func (t * testing.T ) {
120+ t .Run ("Join should succeed when invited " , func (t * testing.T ) {
121121 // Invite the user and joining should work.
122122 alice .InviteRoom (t , room , bob .UserID )
123123 bob .JoinRoom (t , room , []string {"hs1" })
@@ -127,7 +127,7 @@ func checkRestrictedRoom(t *testing.T, alice *client.CSAPI, bob *client.CSAPI, a
127127 bob .JoinRoom (t , allowed_room , []string {"hs1" })
128128 })
129129
130- t .Run ("JoinShouldFailWithMangledJoinRules " , func (t * testing.T ) {
130+ t .Run ("Join should fail with mangled join rules " , func (t * testing.T ) {
131131 // Update the room to have bad values in the "allow" field, which should stop
132132 // joining from working properly.
133133 emptyStateKey := ""
0 commit comments