@@ -7,7 +7,7 @@ import GRDB
77struct PersistedProductVariationTests {
88
99 @Test ( " PersistedProductVariation init(from:) maps all POSProductVariation fields " )
10- func test_variation_init_from_posProductVariation_maps_all_fields ( ) throws {
10+ func variation_init_from_posProductVariation_maps_all_fields ( ) throws {
1111 // Given
1212 let siteID : Int64 = 5
1313 let productID : Int64 = 50
@@ -56,7 +56,7 @@ struct PersistedProductVariationTests {
5656 }
5757
5858 @Test ( " PersistedProductVariation toPOSProductVariation maps back with attributes and optional image " )
59- func test_variation_toPOSProductVariation_maps_back_including_attributes_and_image ( ) throws {
59+ func variation_toPOSProductVariation_maps_back_including_attributes_and_image ( ) throws {
6060 // Given
6161 let siteID : Int64 = 6
6262 let productID : Int64 = 60
@@ -111,7 +111,7 @@ struct PersistedProductVariationTests {
111111 }
112112
113113 @Test ( " ProductVariation with associations fetches attributes and image automatically " )
114- func test_product_variation_with_associations_fetches_related_records ( ) throws {
114+ func product_variation_with_associations_fetches_related_records ( ) throws {
115115 let grdbManager = try GRDBManager ( )
116116 let db = grdbManager. databaseConnection
117117
@@ -215,7 +215,7 @@ struct PersistedProductVariationTests {
215215 }
216216
217217 @Test ( " ProductVariation without image returns nil image " )
218- func test_product_variation_without_image_returns_nil ( ) throws {
218+ func product_variation_without_image_returns_nil ( ) throws {
219219 let grdbManager = try GRDBManager ( )
220220 let db = grdbManager. databaseConnection
221221
@@ -283,7 +283,7 @@ struct PersistedProductVariationTests {
283283 }
284284
285285 @Test ( " PersistedProductVariationAttribute init(from:) and toProductVariationAttribute round-trip " )
286- func test_variation_attribute_round_trip ( ) throws {
286+ func variation_attribute_round_trip ( ) throws {
287287 // Given
288288 let variationID : Int64 = 700
289289 let attr = ProductVariationAttribute ( id: 0 , name: " Style " , option: " Modern " )
@@ -302,7 +302,7 @@ struct PersistedProductVariationTests {
302302 }
303303
304304 @Test ( " PersistedProductVariationImage init(from:) and toProductImage round-trip " )
305- func test_variation_image_round_trip ( ) throws {
305+ func variation_image_round_trip ( ) throws {
306306 // Given
307307 let variationID : Int64 = 800
308308 let image = ProductImage ( imageID: 801 ,
@@ -334,7 +334,7 @@ struct PersistedProductVariationTests {
334334 }
335335
336336 @Test ( " POSProductVariation.save() persists complete variation with relationships " )
337- func test_save_persists_complete_pos_product_variation ( ) throws {
337+ func save_persists_complete_pos_product_variation ( ) throws {
338338 let grdbManager = try GRDBManager ( )
339339 let db = grdbManager. databaseConnection
340340
0 commit comments