@@ -68,8 +68,11 @@ public void countCountriesOfCollectionWithEmptyCollection() {
68
68
"/db/series-6-france-qty6.sql"
69
69
},
70
70
statements = {
71
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
72
- + "VALUES (1, 4, 5), (1, 5, 4), (1, 6, 6)"
71
+ // CheckStyle: ignore LineLength for next 1 line
72
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at) VALUES"
73
+ + " (1, 4, 5, CURRENT_TIMESTAMP())"
74
+ + ", (1, 5, 4, CURRENT_TIMESTAMP())"
75
+ + ", (1, 6, 6, CURRENT_TIMESTAMP())"
73
76
}
74
77
)
75
78
public void countCountriesOfCollectionWithMultipleSeriesFromEachCountry () {
@@ -90,8 +93,10 @@ public void countCountriesOfCollectionWithMultipleSeriesFromEachCountry() {
90
93
"/db/series-3-sport-qty7.sql"
91
94
},
92
95
statements = {
93
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
94
- + "VALUES (1, 2, 3), (1, 3, 7)"
96
+ // CheckStyle: ignore LineLength for next 1 line
97
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at) VALUES"
98
+ + " (1, 2, 3, CURRENT_TIMESTAMP())"
99
+ + ", (1, 3, 7, CURRENT_TIMESTAMP())"
95
100
}
96
101
)
97
102
public void countCountriesOfCollectionWithSeriesFromUnknownCountries () {
@@ -132,8 +137,11 @@ public void getStatisticsOfWithEmptyCollection() {
132
137
"/db/series-6-france-qty6.sql"
133
138
},
134
139
statements = {
135
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
136
- + "VALUES (1, 4, 5), (1, 5, 4), (1, 6, 6)"
140
+ // CheckStyle: ignore LineLength for next 1 line
141
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at) VALUES"
142
+ + " (1, 4, 5, CURRENT_TIMESTAMP())"
143
+ + ", (1, 5, 4, CURRENT_TIMESTAMP())"
144
+ + ", (1, 6, 6, CURRENT_TIMESTAMP())"
137
145
}
138
146
)
139
147
public void getStatisticsOfWithSeriesWithAllStamps () {
@@ -159,8 +167,8 @@ public void getStatisticsOfWithSeriesWithAllStamps() {
159
167
"/db/series-4-italy-qty5.sql"
160
168
},
161
169
statements = {
162
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
163
- + "VALUES (1, 4, 2)"
170
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at ) "
171
+ + "VALUES (1, 4, 2, CURRENT_TIMESTAMP() )"
164
172
}
165
173
)
166
174
public void getStatisticsOfWithIncompleteSeries () {
@@ -180,8 +188,8 @@ public void getStatisticsOfWithIncompleteSeries() {
180
188
"/db/series-1-fauna-qty5.sql"
181
189
},
182
190
statements = {
183
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
184
- + "VALUES (1, 1, 5)"
191
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at ) "
192
+ + "VALUES (1, 1, 5, CURRENT_TIMESTAMP() )"
185
193
}
186
194
)
187
195
public void getStatisticsOfWithSeriesWithoutCountry () {
@@ -204,8 +212,8 @@ public void getStatisticsOfWithSeriesWithoutCountry() {
204
212
"/db/series-4-italy-qty5.sql"
205
213
},
206
214
statements = {
207
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
208
- + "VALUES (1, 4, 5)"
215
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at ) "
216
+ + "VALUES (1, 4, 5, CURRENT_TIMESTAMP() )"
209
217
}
210
218
)
211
219
public void getStatisticsOfInRussian () {
@@ -226,8 +234,8 @@ public void getStatisticsOfInRussian() {
226
234
"/db/series-5-france-qty4.sql"
227
235
},
228
236
statements = {
229
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
230
- + "VALUES (1, 5, 4)"
237
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at ) "
238
+ + "VALUES (1, 5, 4, CURRENT_TIMESTAMP() )"
231
239
}
232
240
)
233
241
public void getStatisticsOfInRussianWithFallbackToEnglish () {
@@ -248,8 +256,8 @@ public void getStatisticsOfInRussianWithFallbackToEnglish() {
248
256
"/db/series-5-france-qty4.sql"
249
257
},
250
258
statements = {
251
- "INSERT INTO collections_series(collection_id, series_id, number_of_stamps) "
252
- + "VALUES (1, 5, 4)"
259
+ "INSERT INTO collections_series(collection_id, series_id, number_of_stamps, added_at ) "
260
+ + "VALUES (1, 5, 4, CURRENT_TIMESTAMP() )"
253
261
}
254
262
)
255
263
public void getStatisticsOfInUnsupportedLanguageWithFallbackToEnglish () {
0 commit comments