forked from gwillem/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request magento#609 from magento-ogre/PR_Branch_merchant_beta
[Ogres] Merchant Beta Bug Fixes
- Loading branch information
Showing
42 changed files
with
910 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\CacheInvalidate\Model; | ||
|
||
class SocketFactory | ||
{ | ||
|
||
/** | ||
* @return \Zend\Http\Client\Adapter\Socket | ||
*/ | ||
public function create() | ||
{ | ||
return new \Zend\Http\Client\Adapter\Socket(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\CacheInvalidate\Model; | ||
|
||
class UriFactory | ||
{ | ||
|
||
/** | ||
* @return \Zend\Uri\Uri | ||
*/ | ||
public function create() | ||
{ | ||
return new \Zend\Uri\Uri(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app/code/Magento/CacheInvalidate/Test/Unit/Model/SocketFactoryTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\CacheInvalidate\Test\Unit\Model; | ||
|
||
class SocketFactoryTest extends \PHPUnit_Framework_TestCase | ||
{ | ||
|
||
public function testCreate() | ||
{ | ||
$factory = new \Magento\CacheInvalidate\Model\SocketFactory(); | ||
$this->assertInstanceOf('\Zend\Http\Client\Adapter\Socket', $factory->create()); | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
app/code/Magento/CacheInvalidate/Test/Unit/Model/UriFactoryTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 Magento. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
namespace Magento\CacheInvalidate\Test\Unit\Model; | ||
|
||
class UriFactoryTest extends \PHPUnit_Framework_TestCase | ||
{ | ||
|
||
public function testCreate() | ||
{ | ||
$factory = new \Magento\CacheInvalidate\Model\UriFactory(); | ||
$this->assertInstanceOf('\Zend\Uri\Uri', $factory->create()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.