@@ -114,20 +114,20 @@ func (suite *TestSuiteStandard) TestTransactionsV3DatabaseError() {
114114// not correctly sorted when multiple transactions occurred on a day. In that case, the
115115// oldest transaction would be at the bottom and not at the top.
116116func (suite * TestSuiteStandard ) TestTransactionsV3Get () {
117- t1 := suite .createTestTransaction (models.TransactionCreate {
117+ t1 := suite .createTestTransactionV3 (models.TransactionCreate {
118118 Amount : decimal .NewFromFloat (17.23 ),
119119 Date : time .Date (2023 , 11 , 10 , 10 , 11 , 12 , 0 , time .UTC ),
120120 })
121121
122- _ = suite .createTestTransaction (models.TransactionCreate {
122+ _ = suite .createTestTransactionV3 (models.TransactionCreate {
123123 Amount : decimal .NewFromFloat (23.42 ),
124124 Date : time .Date (2023 , 11 , 10 , 11 , 12 , 13 , 0 , time .UTC ),
125125 })
126126
127127 // Need to sleep 1 second because SQLite datetime only has second precision
128128 time .Sleep (1 * time .Second )
129129
130- t3 := suite .createTestTransaction (models.TransactionCreate {
130+ t3 := suite .createTestTransactionV3 (models.TransactionCreate {
131131 Amount : decimal .NewFromFloat (44.05 ),
132132 Date : time .Date (2023 , 11 , 10 , 10 , 11 , 12 , 0 , time .UTC ),
133133 })
@@ -164,7 +164,7 @@ func (suite *TestSuiteStandard) TestTransactionsV3GetFilter() {
164164 e1ID := & e1 .Data .ID
165165 e2ID := & e2 .Data .ID
166166
167- _ = suite .createTestTransaction (models.TransactionCreate {
167+ _ = suite .createTestTransactionV3 (models.TransactionCreate {
168168 Date : time .Date (2018 , 9 , 5 , 17 , 13 , 29 , 45256 , time .UTC ),
169169 Amount : decimal .NewFromFloat (2.718 ),
170170 Note : "This was an important expense" ,
@@ -177,7 +177,7 @@ func (suite *TestSuiteStandard) TestTransactionsV3GetFilter() {
177177 ReconciledDestination : false ,
178178 })
179179
180- _ = suite .createTestTransaction (models.TransactionCreate {
180+ _ = suite .createTestTransactionV3 (models.TransactionCreate {
181181 Date : time .Date (2016 , 5 , 1 , 14 , 13 , 25 , 584575 , time .UTC ),
182182 Amount : decimal .NewFromFloat (11235.813 ),
183183 Note : "Not important" ,
@@ -190,7 +190,7 @@ func (suite *TestSuiteStandard) TestTransactionsV3GetFilter() {
190190 ReconciledDestination : true ,
191191 })
192192
193- _ = suite .createTestTransaction (models.TransactionCreate {
193+ _ = suite .createTestTransactionV3 (models.TransactionCreate {
194194 Date : time .Date (2021 , 2 , 6 , 5 , 1 , 0 , 585 , time .UTC ),
195195 Amount : decimal .NewFromFloat (2.718 ),
196196 Note : "" ,
0 commit comments