api de gestion de ticket, basé sur php-crud-api. Le but est de décorrélé les outils de gestion des données, afin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Config.php.dist 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. class Config
  3. {
  4. /**
  5. * Configure one or more database connections as associative arrays.
  6. * Tests will be run against any database connection specified here.
  7. *
  8. * @var array
  9. */
  10. public static $config = array(
  11. 'MySQL' => array(
  12. 'hostname' => '{{test_hostname}}', // 'localhost' for MySQL, '(Local)' for SQLServer, empty for SQLite
  13. 'username' => '{{test_username}}', // May be empty on SQLServer or SQLite
  14. 'password' => '{{test_password}}', // May be empty on SQLServer or SQLite
  15. 'database' => '{{test_database}}', // NB: Use an empty database, data will be LOST!
  16. ),
  17. /* Uncomment and update for any databases you want to use.
  18. 'PostgreSQL' => array(
  19. 'hostname' => '{{test_hostname}}',
  20. 'username' => '{{test_username}}',
  21. 'password' => '{{test_password}}',
  22. 'database' => '{{test_database}}',
  23. ),
  24. 'SQLite' => array(
  25. 'hostname' => '{{test_hostname}}',
  26. 'username' => '{{test_username}}',
  27. 'password' => '{{test_password}}',
  28. 'database' => '{{test_database}}',
  29. ),
  30. 'SQLServer' => array(
  31. 'hostname' => '{{test_hostname}}',
  32. 'username' => '{{test_username}}',
  33. 'password' => '{{test_password}}',
  34. 'database' => '{{test_database}}',
  35. ),
  36. */
  37. );
  38. }