Skip to content

Commit

Permalink
define constant application_name
Browse files Browse the repository at this point in the history
  • Loading branch information
jakoch committed Oct 18, 2012
1 parent 475a499 commit ea999a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions Clansuite/Version.php
Expand Up @@ -45,6 +45,7 @@ public static function setVersionInformation()
/**
* Define Clansuite software version, version name and state for usage throughout the system
*/
define('APPLICATION_NAME', 'Clansuite');
define('APPLICATION_VERSION', '0.2.1');
define('APPLICATION_VERSION_NAME', 'Trajan');
define('APPLICATION_VERSION_STATE', 'alpha-dev');
Expand Down
9 changes: 5 additions & 4 deletions tests/unittests/Clansuite/VersionTest.php
Expand Up @@ -37,10 +37,11 @@ public function testSetVersionInformation()
$this->object->setVersionInformation();

$this->assertTrue(
defined('CLANSUITE_VERSION') &&
defined('CLANSUITE_VERSION_NAME') &&
defined('CLANSUITE_VERSION_STATE') &&
defined('CLANSUITE_URL')
defined('APPLICATION_NAME') &&
defined('APPLICATION_VERSION') &&
defined('APPLICATION_VERSION_NAME') &&
defined('APPLICATION_VERSION_STATE') &&
defined('APPLICATION_URL')
);
}

Expand Down

0 comments on commit ea999a9

Please sign in to comment.