mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-10-08 07:08:55 +00:00
sdk.Runtime is process-wide, so setting the tenant back to nil on cleanup could overwrite a mapping another test had installed. Save the previous value and put it back, as common/middleware/db_test.go does.