From 8bb4573534c6d071dc4b00746754ed905ca88d14 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Fri, 6 Feb 2015 22:48:45 +0400 Subject: [PATCH] #51 (updated tests, refactored a little). --- tests/PhpWord/Tests/AutoloaderTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/PhpWord/Tests/AutoloaderTest.php b/tests/PhpWord/Tests/AutoloaderTest.php index 9d3cd200..7847aa05 100644 --- a/tests/PhpWord/Tests/AutoloaderTest.php +++ b/tests/PhpWord/Tests/AutoloaderTest.php @@ -48,15 +48,13 @@ class AutoloaderTest extends \PHPUnit_Framework_TestCase $this->assertCount( $declaredCount, get_declared_classes(), - 'PhpOffice\\PhpWord\\Autoloader::autoload() is trying to load ' - . 'classes outside of the PhpOffice\\PhpWord namespace' + 'PhpOffice\\PhpWord\\Autoloader::autoload() is trying to load classes outside of the PhpOffice\\PhpWord namespace' ); // TODO change this class to the main PhpWord class when it is namespaced Autoloader::autoload('PhpOffice\\PhpWord\\Exception\\InvalidStyleException'); $this->assertTrue( in_array('PhpOffice\\PhpWord\\Exception\\InvalidStyleException', get_declared_classes()), - 'PhpOffice\\PhpWord\\Autoloader::autoload() failed to autoload the ' - . 'PhpOffice\\PhpWord\\Exception\\InvalidStyleException class' + 'PhpOffice\\PhpWord\\Autoloader::autoload() failed to autoload the PhpOffice\\PhpWord\\Exception\\InvalidStyleException class' ); } }