Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11501

Fix "This test did not perform any assertions" message on some tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.1.0-a1
    • 3.1.0-dev
    • Test Suite
    • None

      5) phpbb_dbal_migrator_test::test_if
       
      This test did not perform any assertions

      uses fail() inside an if, instead of comparing the if statement

      6) phpbb_log_function_add_log_test::test_add_log_function_data
       
      This test did not perform any assertions
       
      7) phpbb_log_function_view_log_test::test_view_log_function_data
       
      This test did not perform any assertions

      methods are the data providers and should not be prefixed with test_*

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: