mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 12:33:26 +00:00
define new app path in test
This commit is contained in:
@@ -57,7 +57,7 @@ class Bridge_Application extends PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
$app = require __DIR__ . '/../../classes/module/Prod.php';
|
$app = require __DIR__ . '/../../Alchemy/Phrasea/Application/Prod.php';
|
||||||
|
|
||||||
return $app;
|
return $app;
|
||||||
}
|
}
|
||||||
|
@@ -165,7 +165,7 @@ class Feed_rssfeedsTest extends PhraseanetWebTestCaseAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../../lib/classes/module/Root.php';
|
return require dirname(__FILE__) . '/../../../lib/Alchemy/Phrasea/Application/Root.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
//$app->get('/feeds/aggregated/{format}/', function($format) use ($app, $appbox, $display_feed)
|
//$app->get('/feeds/aggregated/{format}/', function($format) use ($app, $appbox, $display_feed)
|
||||||
|
@@ -150,7 +150,7 @@ class oauthv2_application_test extends PhraseanetWebTestCaseAuthenticatedAbstrac
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require __DIR__ . '/../../../../lib/classes/module/api/OAuthv2.php';
|
return require __DIR__ . '/../../../../lib/Alchemy/Phrasea/Application/OAuth2.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAuthorizeRedirect()
|
public function testAuthorizeRedirect()
|
||||||
|
@@ -41,7 +41,7 @@ class API_V1_test_adapter extends PhraseanetWebTestCaseAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../../../lib/classes/module/api/V1.php';
|
return require dirname(__FILE__) . '/../../../../lib/Alchemy/Phrasea/Application/Api.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testRouteNotFound()
|
public function testRouteNotFound()
|
||||||
|
@@ -50,7 +50,7 @@ class API_V1_test_adapterYaml extends PhraseanetWebTestCaseAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../../../lib/classes/module/api/V1.php';
|
return require dirname(__FILE__) . '/../../../../lib/Alchemy/Phrasea/Application/Api.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testRouteNotFound()
|
public function testRouteNotFound()
|
||||||
|
@@ -35,7 +35,7 @@ class Module_Admin_Route_PublicationTest extends PhraseanetWebTestCaseAuthentica
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
$app = require dirname(__FILE__) . '/../../../../classes/module/Admin.php';
|
$app = require dirname(__FILE__) . '/../../../../Alchemy/Phrasea/Application/Admin.php';
|
||||||
|
|
||||||
return $app;
|
return $app;
|
||||||
}
|
}
|
||||||
|
@@ -40,7 +40,7 @@ class Module_LightboxTest extends PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../classes/module/Lightbox.php';
|
return require dirname(__FILE__) . '/../../Alchemy/Phrasea/Application/Lightbox.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -45,7 +45,7 @@ class Feed_overviewTest extends PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../../../lib/classes/module/Overview.php';
|
return require dirname(__FILE__) . '/../../../../lib/Alchemy/Phrasea/Application/Overview.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
//$deliver_content = function(session $session, record_adapter $record, $subdef, $watermark, $stamp, $app)
|
//$deliver_content = function(session $session, record_adapter $record, $subdef, $watermark, $stamp, $app)
|
||||||
|
@@ -63,7 +63,7 @@ class Module_Prod_Route_RecordFeedApp extends PhraseanetWebTestCaseAuthenticated
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
$app = require __DIR__ . '/../../../../../classes/module/Prod.php';
|
$app = require __DIR__ . '/../../../../../Alchemy/Phrasea/Application/Prod.php';
|
||||||
return $app;
|
return $app;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@ class Module_Prod_Route_TooltipTest extends PhraseanetWebTestCaseAuthenticatedAb
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../../../classes/module/Prod.php';
|
return require dirname(__FILE__) . '/../../../../Alchemy/Phrasea/Application/Prod.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testRouteBasket()
|
public function testRouteBasket()
|
||||||
|
@@ -42,7 +42,7 @@ class Module_RssFeedTest extends PhraseanetWebTestCaseAbstract
|
|||||||
|
|
||||||
public function createApplication()
|
public function createApplication()
|
||||||
{
|
{
|
||||||
return require dirname(__FILE__) . '/../../classes/module/Root.php';
|
return require dirname(__FILE__) . '/../../Alchemy/Phrasea/Application/Root.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAggregatedRss()
|
public function testAggregatedRss()
|
||||||
|
0
lib/unitTest/testfiles/cestlafete.jpg
Normal file → Executable file
0
lib/unitTest/testfiles/cestlafete.jpg
Normal file → Executable file
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Reference in New Issue
Block a user