omnix-sopiga/services/template-service/tests/fixtures.go

17 lines
309 B
Go
Raw Normal View History

2026-08-07 12:21:42 +07:00
package tests
import (
"time"
"github.com/yourorg/go-dw-platform/services/template-service/domain"
)
func NewTestOrder(orderID, customerID string, amount float64) *domain.Order {
return &domain.Order{
OrderID: orderID,
CustomerID: customerID,
Amount: amount,
CreatedAt: time.Now(),
}
}