mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
Use "T.Cleanup()" instead of manually deferred shutdown function.
This commit is contained in:
@@ -68,8 +68,7 @@ func Test_TransientData(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_TransientMessages(t *testing.T) {
|
||||
hub, _, _, server, shutdown := CreateHubForTest(t)
|
||||
defer shutdown()
|
||||
hub, _, _, server := CreateHubForTest(t)
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), testTimeout)
|
||||
defer cancel()
|
||||
|
||||
Reference in New Issue
Block a user