mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Merge branch '3.8'
Conflicts: tests/Alchemy/Tests/Phrasea/Application/OverviewTest.php
This commit is contained in:
@@ -160,7 +160,7 @@ class API_V1_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
|
||||
public function testSearch_recordsWithRecords()
|
||||
{
|
||||
self::$DI['app']['authentication']->openAccount(self::$DI['user']);
|
||||
$this->authenticate(self::$DI['app']);
|
||||
|
||||
$record = \record_adapter::createFromFile(BorderFile::buildFromPathfile(__DIR__ . '/../../../files/cestlafete.jpg', self::$DI['collection'], self::$DI['app']), self::$DI['app']);
|
||||
|
||||
@@ -240,7 +240,7 @@ class API_V1_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
|
||||
public function testSearch_recordsWithStories()
|
||||
{
|
||||
self::$DI['app']['authentication']->openAccount(self::$DI['user']);
|
||||
$this->authenticate(self::$DI['app']);
|
||||
|
||||
$story = \record_adapter::createStory(self::$DI['app'], self::$DI['collection']);
|
||||
|
||||
@@ -272,7 +272,7 @@ class API_V1_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
|
||||
public function testSearchWithStories()
|
||||
{
|
||||
self::$DI['app']['authentication']->openAccount(self::$DI['user']);
|
||||
$this->authenticate(self::$DI['app']);
|
||||
|
||||
$story = \record_adapter::createStory(self::$DI['app'], self::$DI['collection']);
|
||||
|
||||
@@ -307,7 +307,7 @@ class API_V1_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
||||
|
||||
public function testSearchWithRecords()
|
||||
{
|
||||
self::$DI['app']['authentication']->openAccount(self::$DI['user']);
|
||||
$this->authenticate(self::$DI['app']);
|
||||
|
||||
$record = \record_adapter::createFromFile(BorderFile::buildFromPathfile(__DIR__ . '/../../../files/cestlafete.jpg', self::$DI['collection'], self::$DI['app']), self::$DI['app']);
|
||||
|
||||
|
Reference in New Issue
Block a user