IvanChepurnyi/EcomDev_PHPUnit — pull request #92 by pablobender (2013-03-08 22:12:45+00:00)
Title: fix TestCase::setUp for error 'host is not set for base url' testing Model and Helper Classes

Helper and Model Test Cases inherits from EcomDev_PHPUnit_Test_Case, but this class don't have setUp method for setting base_url. When some test uses a method that require the singleton 'customer/session' the base_url is used to initialize session... I wrote a minimal setUp method for base EcomDev_PHPUnit_Test_Case that initialize a request and set base_url
-----
fix EcomDev_PHPUnit_Test_Case::setUp for error 'Cannot run controller test, because the host is not set for base url.' for tests based on EcomDev_PHPUnit_Test_Case that uses singleton customer/session. ex: helper test for Product::getFinalPrice