check if tests can be run

This commit is contained in:
Roland Gruber 2016-12-26 18:16:49 +01:00
parent 39fdc3e5d2
commit 4417e5aff7
4 changed files with 320 additions and 311 deletions

View File

@ -21,6 +21,8 @@
*/ */
if (is_readable('lam/lib/modules/ppolicyUser.inc')) {
include_once 'lam/lib/baseModule.inc'; include_once 'lam/lib/baseModule.inc';
include_once 'lam/lib/modules.inc'; include_once 'lam/lib/modules.inc';
include_once 'lam/lib/passwordExpirationJob.inc'; include_once 'lam/lib/passwordExpirationJob.inc';
@ -216,5 +218,6 @@ class PPolicyUserPasswordNotifyJobTest extends PHPUnit_Framework_TestCase {
} }
}
?> ?>

View File

@ -23,7 +23,6 @@
include_once 'lam/lib/baseModule.inc'; include_once 'lam/lib/baseModule.inc';
include_once 'lam/lib/modules.inc'; include_once 'lam/lib/modules.inc';
include_once 'lam/lib/passwordExpirationJob.inc';
include_once 'lam/lib/modules/sambaSamAccount.inc'; include_once 'lam/lib/modules/sambaSamAccount.inc';
/** /**

View File

@ -21,6 +21,8 @@
*/ */
if (is_readable('lam/lib/passwordExpirationJob.inc')) {
include_once 'lam/lib/baseModule.inc'; include_once 'lam/lib/baseModule.inc';
include_once 'lam/lib/modules.inc'; include_once 'lam/lib/modules.inc';
include_once 'lam/lib/passwordExpirationJob.inc'; include_once 'lam/lib/passwordExpirationJob.inc';
@ -161,5 +163,6 @@ class ShadowAccountPasswordNotifyJobTest extends PHPUnit_Framework_TestCase {
} }
}
?> ?>

View File

@ -3,7 +3,7 @@
$Id$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2014 Roland Gruber Copyright (C) 2014 - 2016 Roland Gruber
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@ -21,6 +21,8 @@ $Id$
*/ */
if (is_readable('lam/lib/modules/sudoRole.inc')) {
include_once 'lam/lib/baseModule.inc'; include_once 'lam/lib/baseModule.inc';
include_once 'lam/lib/modules/sudoRole.inc'; include_once 'lam/lib/modules/sudoRole.inc';
@ -78,4 +80,6 @@ class SudoRoleTest extends PHPUnit_Framework_TestCase {
} }
}
?> ?>