From b6f39685dfbfc536cd87d52ee0ed7521f74bdaf1 Mon Sep 17 00:00:00 2001 From: Ralph Schindler Date: Thu, 19 Jul 2012 11:13:50 -0500 Subject: [PATCH] Edited composer file, added test configuration --- composer.json | 3 +-- library/ZendService/GoGrid/composer.json | 19 ------------------- tests/TestConfiguration.php.dist | 11 +++++++++++ 3 files changed, 12 insertions(+), 21 deletions(-) delete mode 100644 library/ZendService/GoGrid/composer.json diff --git a/composer.json b/composer.json index 8bafe66..9154ff2 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "keywords": [ "zf2", - "akismet" + "gogrid" ], "homepage": "http://packages.zendframework.com/", "license": "BSD-3-Clause", @@ -13,7 +13,6 @@ "ZendService": "library/" } }, - "target-dir": "ZendService/GoGrid", "repositories": [ { "type": "composer", diff --git a/library/ZendService/GoGrid/composer.json b/library/ZendService/GoGrid/composer.json deleted file mode 100644 index 26b5c72..0000000 --- a/library/ZendService/GoGrid/composer.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "zendframework/zend-service-gogrid", - "description": " ", - "license": "BSD-3-Clause", - "keywords": [ - "zf2", - "gogrid" - ], - "autoload": { - "psr-0": { - "Zend\\Service\\GoGrid": "" - } - }, - "target-dir": "Zend/Service/GoGrid", - "require": { - "php": ">=5.3.3", - "zendframework/zend-http": "self.version" - } -} \ No newline at end of file diff --git a/tests/TestConfiguration.php.dist b/tests/TestConfiguration.php.dist index 837f7dd..8226e15 100644 --- a/tests/TestConfiguration.php.dist +++ b/tests/TestConfiguration.php.dist @@ -43,3 +43,14 @@ defined('TESTS_ZEND_OB_ENABLED') || define('TESTS_ZEND_OB_ENABLED', false); */ defined('TESTS_GENERATE_REPORT') || define('TESTS_GENERATE_REPORT', false); defined('TESTS_GENERATE_REPORT_TARGET') || define('TESTS_GENERATE_REPORT_TARGET', '/path/to/target'); + +/** + * Zend\Service\GoGrid offline tests + */ +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_ENABLED') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_ENABLED', false); +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_KEY') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_KEY', 'insert key here'); +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SECRET') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SECRET', 'insert secret here'); +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_NAME') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_NAME', 'test-zf'); +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_IMAGE') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_IMAGE', 'insert image name here'); +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_RAM') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_RAM', 'insert ram name here'); +defined('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_IP') || define('TESTS_ZEND_SERVICE_GOGRID_ONLINE_SERVER_IP', 'insert ip here'); \ No newline at end of file