Skip to content

Instantly share code, notes, and snippets.

View marcinrogacki's full-sized avatar

Marcin Rogacki marcinrogacki

View GitHub Profile
@marcinrogacki
marcinrogacki / AccountController.php
Created July 13, 2012 08:34
Magento Admin login test case - fails on master branch, dev branch fix it but have propably another bugs
class Nexway_Customer_Test_Controller_AccountController
extends EcomDev_PHPUnit_Test_Case_Controller
{
/**
* @var int
*/
const FAKE_USER_ID = 999999999;
public function setUp()
{
@marcinrogacki
marcinrogacki / Group.php
Created July 9, 2012 12:57
EcomDev_PHPUnit model - custom group annotation issue
class Mymodule_Annotation_Test_Model_Group extends EcomDev_PHPUnit_Test_Case
{
/**
* @test
* @group mygroup
*/
public function first()
{
$this->assertTrue(true);
}