Skip to content

Commit

Permalink
This should work, but doesn't.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Feb 10, 2015
1 parent 58ad428 commit 0632800
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ansel/test/Ansel/TestCase.php
Expand Up @@ -41,9 +41,10 @@ static protected function createBasicAnselSetup(Horde_Test_Setup $setup)
// 'Horde_Core_Factory_Vfs' => array(
// 'factory' => 'Ansel_Unit_Factory_Vfs',
// 'method' => 'create')
'Horde_Group' => 'Group',
'Horde_Perms' => 'Perms',
'Horde_Prefs' => 'Prefs',
//'Horde_Perms' => 'Perms',
//'Horde_Group' => 'Group',
'Horde_Share' => 'Share',
'Horde_Registry' => 'Registry',
)
);
Expand All @@ -57,12 +58,12 @@ static protected function createBasicAnselSetup(Horde_Test_Setup $setup)
);

// TODO: need separate test bundles
$GLOBALS['conf']['image']['driver'] = 'Gd';
$GLOBALS['conf']['image']['type'] = 'jpg';
$GLOBALS['conf']['exif']['driver'] = 'Bundled';
}
$GLOBALS['conf']['image']['driver'] = 'Gd';
$GLOBALS['conf']['image']['type'] = 'jpg';
$GLOBALS['conf']['exif']['driver'] = 'Bundled';
}

static protected function createTestVFS(Horde_Test_Setup $setup)
static protected function createTestVFS(Horde_Test_Setup $setup)
{
$setup->getInjector()->setInstance(
'Ansel_Vfs',
Expand Down
1 change: 1 addition & 0 deletions ansel/test/Ansel/Unit/ImageTest.php
Expand Up @@ -31,6 +31,7 @@ class Ansel_Unit_ImageTest extends Ansel_Unit_Base
{
public function testExif()
{
$this->markTestIncomplete();
$params = array(
'image_id' => 4200,
'image_filename' => 'exif_test.jpg',
Expand Down

0 comments on commit 0632800

Please sign in to comment.