Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1229 from mariansollmann/issue-1229
Browse files Browse the repository at this point in the history
Remove ApplicationName
  • Loading branch information
Marian Sollmann committed May 19, 2014
2 parents 60263e9 + e44341c commit 8f8e8f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions library/CM/Site/Abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,6 @@ public function getName() {
return self::_getConfig()->name;
}

/**
* @return string
*/
public function getApplicationName() {
return $this->_getConfig()->applicationName;
}

/**
* @return string Theme
*/
Expand Down
7 changes: 0 additions & 7 deletions tests/library/CM/Site/AbstractTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ public static function setUpBeforeClass() {
CM_Config::get()->CM_Site_Abstract->urlCdn = 'http://www.cdn.com';
CM_Config::get()->CM_Site_Abstract->name = 'Foo';
CM_Config::get()->CM_Site_Abstract->emailAddress = '[email protected]';
CM_Config::get()->CM_Site_Abstract->applicationName = 'Bar';
}

public function testGetAll() {
Expand All @@ -28,12 +27,6 @@ public function testGetName() {
$this->assertEquals('Foo', $site->getName());
}

public function testGetApplicationName() {
/** @var CM_Site_Abstract $site */
$site = $this->getMockForAbstractClass('CM_Site_Abstract');
$this->assertEquals('Bar', $site->getApplicationName());
}

public function testGetUrl() {
/** @var CM_Site_Abstract $site */
$site = $this->getMockForAbstractClass('CM_Site_Abstract');
Expand Down

0 comments on commit 8f8e8f7

Please sign in to comment.