You've already forked pigallery2
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:
@ -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();
|
||||
|
Reference in New Issue
Block a user