Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert maintenance mode in TestConfig.php
For an unknown reason, commit 59970d8
(part of issue #20837) set MANTIS_MAINTENANCE_MODE.

As a consequence, it is not possible to use any database function as
as part of unit tests.

Since the tests added in the above-mentioned commit are also successful
without maintenance mode, it makes sense to revert this change.
  • Loading branch information
dregad committed Jun 14, 2019
1 parent ea4f260 commit 9c66d39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/TestConfig.php
Expand Up @@ -29,8 +29,6 @@
# Include PHPUnit dependencies ; ensure compatibility with 3.5 and 3.6
@include_once 'PHPUnit/Framework.php';

define( 'MANTIS_MAINTENANCE_MODE', true );

/**
* Parse file and retrieve distinct T_VARIABLE tokens with 'g_' prefix
*
Expand Down

0 comments on commit 9c66d39

Please sign in to comment.