eustasy/phoenix

View on GitHub
_tests/phoenix.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
 
require_once __DIR__.'/../_phoenix.php';
$settings['db_prefix'] = $settings['db_prefix'].'TESTING_';
$failure = false;
 
$tests = glob(__DIR__.'/phoenix/*.php');
foreach ( $tests as $test) {
echo 'Starting Test: '.$test.PHP_EOL;
require_once $test;
echo 'Ending Test: '.$test.PHP_EOL;
}
 
if ( $failure ) {
exit(1);
}