mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
25 lines
612 B
Go
25 lines
612 B
Go
package testutils
|
|
|
|
import (
|
|
"time"
|
|
|
|
"bugulma/backend/internal/domain"
|
|
)
|
|
|
|
// NewSampleOrganization creates a sample organization for testing
|
|
func NewSampleOrganization() *domain.Organization {
|
|
return &domain.Organization{
|
|
ID: "org-1",
|
|
Name: "Sample Organization",
|
|
Sector: domain.SectorTechnology,
|
|
Description: "A sample organization for testing",
|
|
LogoURL: "https://example.com/logo.png",
|
|
Website: "https://example.com",
|
|
Latitude: 52.5200,
|
|
Longitude: 13.4050,
|
|
Verified: true,
|
|
CreatedAt: time.Now().Add(-48 * time.Hour),
|
|
UpdatedAt: time.Now(),
|
|
}
|
|
}
|