Skip to content
Permalink
Browse files

[TASK] Extend test cases

Resolves: #44
  • Loading branch information...
ohader committed May 3, 2019
1 parent 7427dec commit df7609a2f6cc4013d7bd12f1a2412d127b28f771
@@ -27,6 +27,7 @@ class ConjunctionInterceptorTest extends AbstractTestCase
*/
protected $allowedPaths = [
__DIR__ . '/../Fixtures/bundle.phar',
__DIR__ . '/../Fixtures/Source/../bundle.phar',
];
/**
@@ -49,6 +50,9 @@ class ConjunctionInterceptorTest extends AbstractTestCase
__DIR__ . '/../Fixtures/compromised.phar.png',
__DIR__ . '/../Fixtures/compromised.phar.gz.png',
__DIR__ . '/../Fixtures/compromised.phar.bz2.png',
__DIR__ . '/../Fixtures/bundle.phar.png/../bundle.phar',
__DIR__ . '/../Fixtures/compromised.phar/../bundle.phar',
__DIR__ . '/../Fixtures/compromised.phar.png/../bundle.phar',
];
/**
@@ -25,6 +25,7 @@ class PharExtensionInterceptorTest extends AbstractTestCase
*/
protected $allowedPaths = [
__DIR__ . '/../Fixtures/bundle.phar',
__DIR__ . '/../Fixtures/Source/../bundle.phar',
];
/**
@@ -42,6 +43,8 @@ class PharExtensionInterceptorTest extends AbstractTestCase
protected $deniedPaths = [
__DIR__ . '/../Fixtures/bundle.phar.png',
__DIR__ . '/../Fixtures/compromised.phar.png',
__DIR__ . '/../Fixtures/bundle.phar.png/../bundle.phar',
__DIR__ . '/../Fixtures/compromised.phar.png/../bundle.phar',
];
/**
@@ -26,6 +26,7 @@ class PharMetaDataInterceptorTest extends AbstractTestCase
protected $allowedPaths = [
__DIR__ . '/../Fixtures/bundle.phar',
__DIR__ . '/../Fixtures/bundle.phar.png',
__DIR__ . '/../Fixtures/Source/../bundle.phar',
];
/**
@@ -47,6 +48,7 @@ class PharMetaDataInterceptorTest extends AbstractTestCase
__DIR__ . '/../Fixtures/compromised.phar.png',
__DIR__ . '/../Fixtures/compromised.phar.gz.png',
__DIR__ . '/../Fixtures/compromised.phar.bz2.png',
__DIR__ . '/../Fixtures/compromised.phar/../bundle.phar',
];
/**

0 comments on commit df7609a

Please sign in to comment.
You can’t perform that action at this time.