File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 77use AssetManager \Resolver \AliasPathStackResolver ;
88use AssetManager \Service \MimeResolver ;
99
10+ /**
11+ * Unit Tests for the Alias Path Stack Resolver
12+ */
1013class AliasPathStackResolverTest extends PHPUnit_Framework_TestCase
1114{
1215 /**
@@ -244,8 +247,8 @@ public function testLfiProtection()
244247 $ this ->assertTrue ($ resolver ->isLfiProtectionOn ());
245248
246249 $ this ->assertNull ($ resolver ->resolve (
247- '.. ' . DIRECTORY_SEPARATOR . basename (__DIR__ ) . DIRECTORY_SEPARATOR . basename (__FILE__ )
248- ));
250+ '.. ' . DIRECTORY_SEPARATOR . basename (__DIR__ ) . DIRECTORY_SEPARATOR . basename (__FILE__ )
251+ ));
249252
250253 $ resolver ->setLfiProtection (false );
251254
Original file line number Diff line number Diff line change 66use AssetManager \Service \AliasPathStackResolverServiceFactory ;
77use Zend \ServiceManager \ServiceManager ;
88
9+ /**
10+ * Unit Tests the factory for the Alias Path Stack Resolver
11+ */
912class AliasPathStackResolverServiceFactoryTest extends PHPUnit_Framework_TestCase
1013{
1114 /**
You can’t perform that action at this time.
0 commit comments