mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
fixing tests
This commit is contained in:
parent
0500ad0e68
commit
43142299aa
@ -15,8 +15,8 @@
|
|||||||
"box": {
|
"box": {
|
||||||
"height": 2,
|
"height": 2,
|
||||||
"width": 2,
|
"width": 2,
|
||||||
"x": 7,
|
"left": 7,
|
||||||
"y": 3
|
"top": 3
|
||||||
},
|
},
|
||||||
"name": "squirrel"
|
"name": "squirrel"
|
||||||
},
|
},
|
||||||
@ -24,8 +24,8 @@
|
|||||||
"box": {
|
"box": {
|
||||||
"height": 3,
|
"height": 3,
|
||||||
"width": 2,
|
"width": 2,
|
||||||
"x": 4,
|
"left": 4,
|
||||||
"y": 3.5
|
"top": 3.5
|
||||||
},
|
},
|
||||||
"name": "special_chars űáéúőóüío?._:"
|
"name": "special_chars űáéúőóüío?._:"
|
||||||
}
|
}
|
||||||
|
@ -105,19 +105,19 @@ export class TestHelper {
|
|||||||
p.metadata.positionData.country = 'Tatooine';
|
p.metadata.positionData.country = 'Tatooine';
|
||||||
p.name = 'sw1';
|
p.name = 'sw1';
|
||||||
|
|
||||||
p.metadata.faces = [<any>{
|
p.metadata.faces = [<FaceRegion>{
|
||||||
box: {height: 10, width: 10, x: 10, y: 10},
|
box: {height: 10, width: 10, left: 10, top: 10},
|
||||||
name: 'Boba Fett'
|
name: 'Boba Fett'
|
||||||
}, <any>{
|
}, <FaceRegion>{
|
||||||
box: {height: 10, width: 10, x: 101, y: 101},
|
box: {height: 10, width: 10, left: 101, top: 101},
|
||||||
name: 'Luke Skywalker'
|
name: 'Luke Skywalker'
|
||||||
}, <any>{
|
}, <FaceRegion>{
|
||||||
box: {height: 10, width: 10, x: 101, y: 101},
|
box: {height: 10, width: 10, left: 101, top: 101},
|
||||||
name: 'Han Solo'
|
name: 'Han Solo'
|
||||||
}, <any>{
|
}, <FaceRegion>{
|
||||||
box: {height: 10, width: 10, x: 101, y: 101},
|
box: {height: 10, width: 10, left: 101, top: 101},
|
||||||
name: 'Unkle Ben'
|
name: 'Unkle Ben'
|
||||||
}];
|
}] as any[];
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user