fix: test compile error (#1006)

This commit is contained in:
Roland 2025-01-17 15:10:35 +07:00 committed by GitHub
parent 17c7a558a5
commit 5619ac4b92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -122,9 +122,9 @@ func TestHandleGetInfoEvent_WithPermission(t *testing.T) {
func TestHandleGetInfoEvent_WithMetadata(t *testing.T) {
ctx := context.TODO()
defer tests.RemoveTestService()
svc, err := tests.CreateTestService()
svc, err := tests.CreateTestService(t)
require.NoError(t, err)
defer svc.Remove()
metadata := map[string]interface{}{
"a": 123,