FIXED (again): compatibility with PHP 5.3.
FIXED (again): misprint in method name.
This commit is contained in:
Roman Syroeshko 2014-03-03 17:03:09 +04:00
parent 1c3ebe1f91
commit bdcbd149e7
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase
* @expectedExceptionMessage Could not set values for the given XSL style sheet parameters.
* @test
*/
final public function testXsLStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
final public function testXslStyleSheetCanNotBeAppliedOnFailureOfSettingParameterValue()
{
$template = new PHPWord_Template(
\join(\DIRECTORY_SEPARATOR,
@ -36,7 +36,7 @@ class PHPWord_TemplateTest extends \PHPUnit_Framework_TestCase
array(\PHPWORD_TESTS_DIR_ROOT, '_files', 'xsl', 'passthrough.xsl'))
);
@$template->applyXslStyleSheet($xslDOMDocument, [1 => 'somevalue']);
@$template->applyXslStyleSheet($xslDOMDocument, array(1 => 'somevalue'));
}
/**