Development

Changeset 13368

You must first sign up to be able to contribute.

Changeset 13368

Show
Ignore:
Timestamp:
11/26/08 22:04:28 (5 years ago)
Author:
cinxgler
Message:

Added functional test for Admin interfaces

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfEzcWorkflowPlugin/trunk/test/bootstrap/functional.php

    r13233 r13368  
    33if (!isset($_SERVER['SYMFONY'])) 
    44{ 
    5   throw new RuntimeException('Could not find symfony core libraries.'); 
     5  require_once('config/ProjectConfiguration.class.php'); 
     6  $configuration = new ProjectConfiguration(); 
     7  $_SERVER['SYMFONY'] = $configuration->getSymfonyLibDir(); 
     8  //throw new RuntimeException('Could not find symfony core libraries.'); 
    69} 
    710 
     
    1518 
    1619require_once dirname(__FILE__).'/../fixtures/project/config/ProjectConfiguration.class.php'; 
    17 $configuration = ProjectConfiguration::getApplicationConfiguration($app, 'test', isset($debug) ? $debug : true); 
     20$configuration = ProjectConfigurationTest::getApplicationConfiguration($app, 'test', isset($debug) ? $debug : true); 
    1821sfContext::createInstance($configuration); 
    1922 
  • plugins/sfEzcWorkflowPlugin/trunk/test/fixtures/project/config/ProjectConfiguration.class.php

    r13233 r13368  
    99sfCoreAutoload::register(); 
    1010 
    11 class ProjectConfiguration extends sfProjectConfiguration 
     11class ProjectConfigurationTest extends sfProjectConfiguration 
    1212{ 
    1313  public function setup() 
  • plugins/sfEzcWorkflowPlugin/trunk/test/fixtures/project/config/settings.yml

    r13233 r13368  
    11all: 
    2   enabled_modules: [sf_ezc_workflow_execution, sfEzcWorflowMonitor, sfEzcWorkflowMonitor
     2  enabled_modules: [sf_ezc_workflow_execution, sfEzcWorflowMonitor, sfEzcWorkflowMonitor, sfEzcWorkflow