1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-07-15 01:24:25 +02:00

fixing search error

This commit is contained in:
Patrik J. Braun
2018-01-30 20:01:16 -05:00
parent 83698541be
commit 2761cbc507
6 changed files with 311 additions and 81 deletions

View File

@ -9,7 +9,11 @@ import {UserRoles} from "../../../../../common/entities/UserDTO";
import {PasswordHelper} from "../../../../../backend/model/PasswordHelper";
import {DirectoryEntity} from "../../../../../backend/model/sql/enitites/DirectoryEntity";
import {
CameraMetadataEntity, GPSMetadataEntity, ImageSizeEntity, PhotoEntity, PhotoMetadataEntity,
CameraMetadataEntity,
GPSMetadataEntity,
ImageSizeEntity,
PhotoEntity,
PhotoMetadataEntity,
PositionMetaDataEntity
} from "../../../../../backend/model/sql/enitites/PhotoEntity";
@ -189,7 +193,7 @@ describe('Typeorm integration', () => {
expect(photos.length).to.equal(0);
});
it('should open and close connection twice with photo added ', async () => {
it('should open and close connection twice with photo added ', async () => {
let conn = await SQLConnection.getConnection();
const dir = await conn.getRepository(DirectoryEntity).save(getDir());
let dir2 = getDir();