mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2605_fix-unittest-bootstrap_4.1
fix conf
This commit is contained in:
@@ -152,6 +152,7 @@ class ApplicationTest extends \PhraseanetTestCase
|
||||
$sessionId = null;
|
||||
$app->post('/prod/upload/', function (Application $app) use (&$sessionId) {
|
||||
$sessionId = $app['session']->getId();
|
||||
return "";
|
||||
});
|
||||
|
||||
$client = new Client($app);
|
||||
|
@@ -106,6 +106,7 @@ class UploadTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
|
||||
$record = new \record_adapter(self::$DI['app'], $id[0], $id[1]);
|
||||
$this->assertTrue($record->get_thumbnail()->is_physically_present());
|
||||
$zzz = $record->get_caption()->get_fields();
|
||||
$fields = $record->get_caption()->get_fields(['FileName']);
|
||||
$field = array_pop($fields);
|
||||
$this->assertEquals('KIKOO.JPG', $field->get_serialized_values());
|
||||
|
@@ -6,6 +6,7 @@ main:
|
||||
maintenance: false
|
||||
key: ''
|
||||
api_require_ssl: true
|
||||
delete-account-require-email-confirmation: true
|
||||
database:
|
||||
host: 'sql-host'
|
||||
port: 3306
|
||||
@@ -212,3 +213,35 @@ embed_bundle:
|
||||
document:
|
||||
player: flexpaper
|
||||
enable-pdfjs: true
|
||||
geocoding-providers:
|
||||
-
|
||||
name: 'mapBox'
|
||||
enabled: true
|
||||
public-key: ''
|
||||
default-position:
|
||||
- 2.335062
|
||||
- 48.879162
|
||||
default-zoom: 2
|
||||
marker-default-zoom: 11
|
||||
position-fields:
|
||||
-
|
||||
name: GpsCompositePosition
|
||||
type: latlng
|
||||
# -
|
||||
# name: Longitude
|
||||
# type: lng
|
||||
# -
|
||||
# name: Latitude
|
||||
# type: lat
|
||||
video-editor:
|
||||
vttFieldName: VideoTextTrackChapters
|
||||
seekBackwardStep: 1000 # in ms
|
||||
seekForwardStep: 1000 # in ms
|
||||
playbackRates:
|
||||
- 1
|
||||
- '1.5'
|
||||
- 3
|
||||
|
||||
user_account:
|
||||
deleting_policies:
|
||||
email_confirmation: true
|
||||
|
@@ -6,6 +6,7 @@ main:
|
||||
maintenance: false
|
||||
key: ''
|
||||
api_require_ssl: true
|
||||
delete-account-require-email-confirmation: true
|
||||
database:
|
||||
host: 'sql-host'
|
||||
port: 3306
|
||||
@@ -212,3 +213,35 @@ embed_bundle:
|
||||
document:
|
||||
player: flexpaper
|
||||
enable-pdfjs: true
|
||||
geocoding-providers:
|
||||
-
|
||||
name: 'mapBox'
|
||||
enabled: true
|
||||
public-key: ''
|
||||
default-position:
|
||||
- 2.335062
|
||||
- 48.879162
|
||||
default-zoom: 2
|
||||
marker-default-zoom: 11
|
||||
position-fields:
|
||||
-
|
||||
name: GpsCompositePosition
|
||||
type: latlng
|
||||
# -
|
||||
# name: Longitude
|
||||
# type: lng
|
||||
# -
|
||||
# name: Latitude
|
||||
# type: lat
|
||||
video-editor:
|
||||
vttFieldName: VideoTextTrackChapters
|
||||
seekBackwardStep: 1000 # in ms
|
||||
seekForwardStep: 1000 # in ms
|
||||
playbackRates:
|
||||
- 1
|
||||
- '1.5'
|
||||
- 3
|
||||
|
||||
user_account:
|
||||
deleting_policies:
|
||||
email_confirmation: true
|
||||
|
Reference in New Issue
Block a user