MageTest / BehatMage

Behat for Magento
MIT License
85 stars 31 forks source link

Prevent fixture from creating an empty product. #56

Closed robjstanley closed 10 years ago

robjstanley commented 10 years ago

Unable to create the Magento fixture Notice: Undefined index: sku in vendor/magetest/magento-behat-extension/src/MageTest/MagentoExtension/Fixture/Product.php line 70

vernard commented 10 years ago

+1. I'm new and I could not proceed because of this error.

vernard commented 10 years ago

Pull request caused this error. Forgot to inform that I did try his change before posting a comment.

Notice: Undefined variable: fixtureGenerator in vendor/magetest/magento-behat-extension/src/MageTest/MagentoExtension/Context/Magento Context.php line 183

alistairstead commented 10 years ago

Sorry I didn't spot that when I reviewed it. I'm just adding PHPSpec coverage of this error and will push another PR shortly.

alistairstead commented 10 years ago

This should be fixed once https://github.com/MageTest/BehatMage/pull/60 is accepted

you-aint-doing-it-right-sir