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