Skip to content

Commit

Permalink
fix rect minimization tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxime Mulder committed Feb 19, 2024
1 parent 34323bc commit d1ac95b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion php/libraries/NDB_Page.class.inc
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ class NDB_Page extends \LORIS\Http\Endpoint implements RequestHandlerInterface
$baseURL = $factory->settings()->getBaseURL();
$config = $factory->config();

$min = $config->getSetting("sandbox") === '0';
$min = $config->getSetting("sandbox") !== '1';

// Currently jquery-ui is required for dialogs and datepickers to work.
// In the future release, dialogs should be replaced with bootstrap dialogs
Expand Down
4 changes: 2 additions & 2 deletions test/unittests/NDB_PageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ public function testGetBreadcrumbsWithSamePageAndName()
}

/**
* Test that getCSSDependencies returns the correct array of dependencies
* Test that getAllCSSDependencies returns the correct array of dependencies
*
* @covers NDB_Page::getAllCSSDependencies
* @return void
Expand All @@ -803,7 +803,7 @@ public function testGetCSSDependencies()
}

/**
* Test that getJSDependencies returns the correct array of dependencies
* Test that getAllJSDependencies returns the correct array of dependencies
*
* @covers NDB_Page::getAllJSDependencies
* @return void
Expand Down

0 comments on commit d1ac95b

Please sign in to comment.