Skip to content
Extraits de code Groupes Projets
  1. sept. 09, 2014
    • mattab's avatar
      fixing few more tests: hide nb_users to make tests pass because for some... · 1ad4c494
      mattab a rédigé
      fixing few more tests: hide nb_users to make tests pass because for some reason the column does appear by default but in the backwardsCompatibilityTest it does not appear there. Also had to manually activate and install plugins in the test case for some reason. Message was:
      ```
      Exception: Failed to update database (errors or warnings found): Array
      (
          [warnings] => Array
              (
              )
      
          [errors] => Array
              (
                  [0] => /home/matt/dev/piwik-master/plugins/CustomAlerts/Updates/0.0.2.php:
      Error trying to execute the query 'ALTER TABLE `alert` CHANGE `enable_mail` `email_me` BOOLEAN NOT NULL'.
      The error was: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'piwik_tests.alert' doesn't exist
              )
      
          [coreError] =>
          [deactivatedPlugins] => Array
              (
                  [0] => CustomAlerts
              )
      
      )
      
      ```
      1ad4c494
  2. juil. 26, 2014
    • diosmosis's avatar
      Refactoring IntegrationTestCase class: · 8c94dc71
      diosmosis a rédigé
        - moved all API URL generation logic & API response handling logic to separate classes
        - created ApiTestConfig class to hold API test options (and documentation for properties)
        - remove unnecessary IntegrationTestCase properties and methods (including apiNotToCall/apiToCall)
        - remove as many unnecessary API test options as possible (including abandonedCarts, hackDeleteRangeArchivesBefore)
        - rename checkRequestResponse to assertApiResponseHasNoError
      8c94dc71
  3. juil. 11, 2014
  4. juil. 10, 2014
  5. juil. 09, 2014
  6. juil. 08, 2014
  7. juil. 05, 2014
  8. juin 10, 2014
  9. mai 09, 2014
  10. mai 06, 2014
  11. mars 29, 2014
  12. mars 27, 2014
  13. mars 26, 2014
  14. mars 13, 2014
  15. fév. 23, 2014
  16. fév. 20, 2014
    • diosmosis's avatar
      Refactoring testing framework: · 612720f6
      diosmosis a rédigé
      - Rename *_BaseFixture to Fixture.
      - Move DB setup code to Fixture and reuse code in DatabaseTestCase.
      - Make IntegrationTestCase::$defaultApiNotToCall an instance var.
      612720f6
  17. oct. 15, 2013
  18. oct. 08, 2013
Chargement en cours