-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<?php declare(strict_types=1); | ||
|
||
require_once __DIR__ | ||
. "/../../../test/integrationtests/LorisIntegrationTest.class.inc"; | ||
|
||
/** | ||
* BiobankIntegrationTest automated integration tests | ||
* | ||
* PHP Version 7 | ||
* | ||
* @category Test | ||
* @package Loris | ||
* @author Henri Rabalais <[email protected]> | ||
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 | ||
* @link https://github.com/aces/Loris | ||
*/ | ||
class BiobankIntegrationTest extends LorisIntegrationTest | ||
{ | ||
/** | ||
* Ensures that the module loads if and only if the user has one of the | ||
* module permissions codes. | ||
* | ||
* @return void | ||
*/ | ||
public function testPermissions(): void | ||
{ | ||
$this->checkPagePermissions( | ||
'/biobank/', | ||
['biobank_specimen_view'], | ||
"Imaging Quality Control" | ||
); | ||
} | ||
} |
File renamed without changes.