chore: remove unrelated test refactors

This commit is contained in:
wucm667 committed 2026-08-11 16:57:39 +08:00
1 parent c3fc4331c1
commit c91fbeb0c0
10 files changed
+54 -32

No files matched your search

@@ -8,7 +8,6 @@ import (
dbent "github.com/Wei-Shaw/sub2api/ent"
"github.com/Wei-Shaw/sub2api/internal/service"
"github.com/stretchr/testify/require"
)
func TestSanitizeAdminPaymentOrderForResponseAddsCurrency(t *testing.T) {
@@ -33,7 +32,9 @@ func TestSanitizeAdminPaymentOrderForResponseAddsCurrency(t *testing.T) {
}
got := sanitizeAdminPaymentOrderForResponse(order)
require.NotNil(t, got)
if got == nil {
t.Fatal("expected sanitized order")
}
if got.Currency != "USD" {
t.Fatalf("expected currency USD, got %q", got.Currency)
}