File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ class CommerceItemTests: XCTestCase {
28
28
url: " stand-alone-complex " ,
29
29
imageUrl: " laughing-man " ,
30
30
categories: [ " section 9 " ,
31
- " personnel transport " ] ) . toDictionary ( )
31
+ " personnel transport " ] ,
32
+ dataFields: [ " color " : " yellow " ,
33
+ " count " : 8 ] ) . toDictionary ( )
32
34
33
35
let expected : [ AnyHashable : Any ] = [ " id " : " THINKTANK " ,
34
36
" name " : " Tachikoma " ,
@@ -39,7 +41,9 @@ class CommerceItemTests: XCTestCase {
39
41
" url " : " stand-alone-complex " ,
40
42
" imageUrl " : " laughing-man " ,
41
43
" categories " : [ " section 9 " ,
42
- " personnel transport " ] ]
44
+ " personnel transport " ] ,
45
+ " dataFields " : [ " color " : " yellow " ,
46
+ " count " : 8 ] ]
43
47
44
48
XCTAssertEqual ( NSDictionary ( dictionary: itemDictionary) , NSDictionary ( dictionary: expected) )
45
49
}
You can’t perform that action at this time.
0 commit comments