update most ancillary files, based on upstream
[fsfdrupalauth.git] / tests / bootstrap.php
CommitLineData
395539d7
AE
1<?php
2
da220714
AE
3declare(strict_types=1);
4
395539d7 5$projectRoot = dirname(__DIR__);
da220714 6require_once($projectRoot . '/vendor/autoload.php');
395539d7
AE
7
8// Symlink module into ssp vendor lib so that templates and urls can resolve correctly
da220714 9$linkPath = $projectRoot . '/vendor/simplesamlphp/simplesamlphp/modules/sqlauth';
395539d7
AE
10if (file_exists($linkPath) === false) {
11 echo "Linking '$linkPath' to '$projectRoot'\n";
12 symlink($projectRoot, $linkPath);
13}