Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9825

Run tests on sqlite if available and no test db configured

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.8-RC1
    • Component/s: None
    • Labels:
      None

      Description

      The database unit test section currently throws a message / an error saying that you have to create a test_config.php file to enable database tests.

      Since the tests now support sqlite we can change the logic to the following.

      if (test_config.php exists) { use test_config.php } else if (sqlite is available) { silently use sqlite } else { echo error }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bantu Andreas Fischer
                Reporter:
                bantu Andreas Fischer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: