MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / TestUser_GetBillingAnchorDay_FreeUser

Function TestUser_GetBillingAnchorDay_FreeUser

api/pkg/entities/user_test.go:10–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

8)
9
10func TestUser_GetBillingAnchorDay_FreeUser(t *testing.T) {
11 user := User{
12 SubscriptionName: SubscriptionNameFree,
13 CreatedAt: time.Date(2026, 3, 20, 10, 0, 0, 0, time.UTC),
14 }
15 assert.Equal(t, 20, user.GetBillingAnchorDay())
16}
17
18func TestUser_GetBillingAnchorDay_EmptySubscription(t *testing.T) {
19 user := User{

Callers

nothing calls this directly

Calls 1

GetBillingAnchorDayMethod · 0.95

Tested by

no test coverage detected