Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Permit portability between UnitTesting hosts by checking for the path…

… of the unit test when checking filenames, and prevent session_id's being sent when performing file-based actions only.
  • Loading branch information...
commit 02b2f1c782057ce2faf3dc1043866af314d73672 1 parent da7f216
@JonTheNiceGuy JonTheNiceGuy authored
View
2  Tests/classes/Base/RequestTest.php
@@ -696,6 +696,6 @@ public function testSimulatedFileConnectionWithNoPath()
$request = new Base_Request();
$this->FarrGlobals['argv'][0] = 'bootstrap.php';
$this->parseFile($request);
- $this->assertTrue(strpos($request->get_requestUrlFull(), "/Tests/bootstrap.php") > 0);
+ $this->assertTrue(strpos($request->get_requestUrlFull(), "/bootstrap.php") > 0);
}
}
View
2  classes/Base/ExternalLibraryLoader.php
@@ -78,7 +78,7 @@ function __construct()
*
* @return string Library version to load
*/
- function loadLibrary($library = '')
+ public static function loadLibrary($library = '')
{
$self = self::getHandler();
if (isset($self->libs[$library]) and file_exists($self->externalsDir . '/' . $library . '/' . $self->libs[$library])) {
Please sign in to comment.
Something went wrong with that request. Please try again.