@@ -23,7 +23,7 @@ func (suite *TestSuiteStandard) TestMonthsV3Get() {
2323 assertHTTPStatus (suite .T (), & r , http .StatusOK )
2424}
2525
26- func (suite * TestSuiteStandard ) TestMonthGetV3EnvelopeAllocationLink () {
26+ func (suite * TestSuiteStandard ) TestMonthsGetV3EnvelopeAllocationLink () {
2727 var month controllers.MonthResponseV3
2828
2929 budget := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
@@ -38,7 +38,7 @@ func (suite *TestSuiteStandard) TestMonthGetV3EnvelopeAllocationLink() {
3838 suite .Assert ().True (month .Data .Categories [0 ].Allocation .Equal (decimal .NewFromFloat (10 )))
3939}
4040
41- func (suite * TestSuiteStandard ) TestMonthGetV3NotNil () {
41+ func (suite * TestSuiteStandard ) TestMonthsGetV3NotNil () {
4242 var month controllers.MonthResponseV3
4343
4444 // Verify that the categories list is empty, not nil
@@ -62,7 +62,7 @@ func (suite *TestSuiteStandard) TestMonthGetV3NotNil() {
6262 suite .Assert ().Empty (month .Data .Categories [0 ].Envelopes )
6363}
6464
65- func (suite * TestSuiteStandard ) TestMonthGetV3InvalidRequest () {
65+ func (suite * TestSuiteStandard ) TestMonthsGetV3InvalidRequest () {
6666 budget := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
6767
6868 tests := []struct {
@@ -93,7 +93,7 @@ func (suite *TestSuiteStandard) TestMonthGetV3InvalidRequest() {
9393 }
9494}
9595
96- func (suite * TestSuiteStandard ) TestMonthGetV3DBFail () {
96+ func (suite * TestSuiteStandard ) TestMonthsGetV3DBFail () {
9797 budget := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
9898
9999 suite .CloseDB ()
@@ -102,7 +102,7 @@ func (suite *TestSuiteStandard) TestMonthGetV3DBFail() {
102102 assertHTTPStatus (suite .T (), & r , http .StatusInternalServerError )
103103}
104104
105- func (suite * TestSuiteStandard ) TestMonthGetV3Delete () {
105+ func (suite * TestSuiteStandard ) TestMonthsGetV3Delete () {
106106 budget := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
107107 category := suite .createTestCategoryV3 (suite .T (), controllers.CategoryCreateV3 {BudgetID : budget .Data .ID })
108108 envelope1 := suite .createTestEnvelopeV3 (suite .T (), controllers.EnvelopeCreateV3 {CategoryID : category .Data .ID })
@@ -132,7 +132,7 @@ func (suite *TestSuiteStandard) TestMonthGetV3Delete() {
132132 assertHTTPStatus (suite .T (), & recorder , http .StatusNotFound )
133133}
134134
135- func (suite * TestSuiteStandard ) TestMonthV3DeleteFail () {
135+ func (suite * TestSuiteStandard ) TestMonthsV3DeleteFail () {
136136 b := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
137137
138138 // Bad Request for invalid UUID
@@ -148,7 +148,7 @@ func (suite *TestSuiteStandard) TestMonthV3DeleteFail() {
148148 assertHTTPStatus (suite .T (), & recorder , http .StatusNotFound )
149149}
150150
151- func (suite * TestSuiteStandard ) TestMonthV3AllocateBudgeted () {
151+ func (suite * TestSuiteStandard ) TestMonthsV3AllocateBudgeted () {
152152 budget := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
153153 category := suite .createTestCategoryV3 (suite .T (), controllers.CategoryCreateV3 {BudgetID : budget .Data .ID })
154154 envelope1 := suite .createTestEnvelopeV3 (suite .T (), controllers.EnvelopeCreateV3 {CategoryID : category .Data .ID })
@@ -212,7 +212,7 @@ func (suite *TestSuiteStandard) TestMonthV3AllocateBudgeted() {
212212 suite .Assert ().True (archivedEnvelopeMonth .Data .Allocation .IsZero (), "Expected: 0, got %s, Request ID: %s" , archivedEnvelopeMonth .Data .Allocation , recorder .Header ().Get ("x-request-id" ))
213213}
214214
215- func (suite * TestSuiteStandard ) TestMonthV3AllocateSpend () {
215+ func (suite * TestSuiteStandard ) TestMonthsV3AllocateSpend () {
216216 budget := suite .createTestBudgetV3 (suite .T (), models.BudgetCreate {})
217217 cashAccount := suite .createTestAccountV3 (suite .T (), controllers.AccountCreateV3 {External : false , OnBudget : true , Name : "TestSetMonthSpend Cash" })
218218 externalAccount := suite .createTestAccountV3 (suite .T (), controllers.AccountCreateV3 {External : true , Name : "TestSetMonthSpend External" })
0 commit comments