예제 #1
0
 /**
  * Checks that getLogoUrl returns false when filename is incorrect
  *
  * @dataProvider providerGetShopLogoUrlIncorrectFilename
  */
 public function testGetShopLogoUrlIncorrectFilename($sOption, $sShopLogoImage, $sCustomLogoImage)
 {
     $oConfig = new oePayPalConfig();
     $this->getConfig()->setConfigParam("sOEPayPalLogoImageOption", $sOption);
     $this->getConfig()->setConfigParam("sOEPayPalCustomShopLogoImage", $sCustomLogoImage);
     $this->getConfig()->setConfigParam("sShopLogo", $sShopLogoImage);
     $this->assertFalse($oConfig->getLogoUrl());
     $this->_cleanUp();
 }