Skip to content

Instantly share code, notes, and snippets.

View fix-sample-data.php
<?php
/**
* Drop this into the shell directory in the Magento root and run without any arguments.
*/
require_once 'abstract.php';
/**
* Clean up the 1.6.1 sample data to work with the 1.8 CE url key constraints.
@fbrnc
fbrnc / gist:4550079
Last active Sep 25, 2017 — forked from michalochman/gist:3175175
Make Behat/Mink create a screenshot when a test fails
View gist:4550079
<?php
class FeatureContext extends MinkContext {
/**
* Take screenshot when step fails.
* Works only with Selenium2Driver.
*
* @AfterStep
*/