22 lines
332 B
Go
22 lines
332 B
Go
package domain
|
|
|
|
import "testing"
|
|
|
|
type Profile struct {
|
|
Name string
|
|
URL string
|
|
Photo string
|
|
Email string
|
|
}
|
|
|
|
func TestProfile(tb testing.TB) *Profile {
|
|
tb.Helper()
|
|
|
|
return &Profile{
|
|
Name: "Example User",
|
|
URL: "http://user.example.net/",
|
|
Photo: "http://user.example.net/photo.jpg",
|
|
Email: "user@example.net",
|
|
}
|
|
}
|