Skip to content

Commit

Permalink
Merge pull request #1165 from EliasZ/patch-1
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
vpelipenko committed Apr 16, 2015
2 parents 3edca36 + 79184c4 commit 9d413e1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function testGetFaviconFileNegative()
public function testGetFaviconFile()
{
$scopeConfigValue = 'path';
$urlToMediaDir = 'http://magneto.url/pub/media/';
$urlToMediaDir = 'http://magento.url/pub/media/';
$expectedFile = ImageFavicon::UPLOAD_DIR . '/' . $scopeConfigValue;
$expectedUrl = $urlToMediaDir . $expectedFile;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function testGetFiles($libraryFiles, $themeFiles)
$this->libraryDirectoryMock->expects($this->any())->method('search')->will($this->returnValue($libraryFiles));
$this->libraryDirectoryMock->expects($this->any())->method('getAbsolutePath')->will($this->returnCallback(
function ($file) {
return '/opt/Magneto/lib/' . $file;
return '/opt/Magento/lib/' . $file;
}
));
$themePath = '/var/Magento/ATheme';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function createBlock($blockName, array $arguments = [])
$blockName = ltrim($blockName, '\\');
$block = $this->objectManager->create($blockName, $arguments);
if (!$block instanceof BlockInterface) {
throw new \LogicException($blockName . ' does not implemented BlockInterface');
throw new \LogicException($blockName . ' does not implement BlockInterface');
}
if ($block instanceof Template) {
$block->setTemplateContext($block);
Expand Down

0 comments on commit 9d413e1

Please sign in to comment.