[Phpmyadmin-git] [phpmyadmin/phpmyadmin] f580c8: Correcting test for Config.class.php

Michal Čihař michal at cihar.com
Thu Mar 6 09:18:34 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/phpmyadmin/phpmyadmin
  Commit: f580c8fb9411cfd2937f94d3cfdee121f265bb74
      https://github.com/phpmyadmin/phpmyadmin/commit/f580c8fb9411cfd2937f94d3cfdee121f265bb74
  Author: minhaz <minhazav at gmail.com>
  Date:   2014-03-03 (Mon, 03 Mar 2014)

  Changed paths:
    M test/classes/PMA_Config_test.php

  Log Message:
  -----------
  Correcting test for Config.class.php

The constant used to load config file i.e CONFIG_FILE was config.inc.php while it did not exist in code base, which was causing two similar test-case with no config-file.
CONFIG_FILE has been replaced with "config.sample.inc.php" which can be tested for.
 
Signed-off-by: A V Minhaz <minhazav at gmail.com>


  Commit: 586804986731bee2c4c4185deba391f65b886d9d
      https://github.com/phpmyadmin/phpmyadmin/commit/586804986731bee2c4c4185deba391f65b886d9d
  Author: minhaz <minhazav at gmail.com>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M test/classes/PMA_Config_test.php

  Log Message:
  -----------
  Update PMA_Config_test.php

As per discussion in mailing list, another object is used to check for file permission while global object remains same!
Signed-off-by: A V Minhaz <minhazav at gmail.com>


  Commit: 13baf4ea1806d3abe1f61d74590118f4d65e934b
      https://github.com/phpmyadmin/phpmyadmin/commit/13baf4ea1806d3abe1f61d74590118f4d65e934b
  Author: minhaz <minhazav at gmail.com>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M test/classes/PMA_Config_test.php

  Log Message:
  -----------
  testing permission for test object

Signed-off-by: A V Minhaz <minhazav at gmail.com>


  Commit: 06e7aa4c2685c7e9286f15bb623841f06d60a80c
      https://github.com/phpmyadmin/phpmyadmin/commit/06e7aa4c2685c7e9286f15bb623841f06d60a80c
  Author: minhaz <minhazav at gmail.com>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M test/classes/PMA_Config_test.php

  Log Message:
  -----------
  Test case for Config.class.php fixed

Testcases modified:
Two test cases - one for no config file , other with config file

Signed-off-by: A V Minhaz <minhazav at gmail.com>


  Commit: 73cdd13a83c1710af58f2fd58a51102fe85e961e
      https://github.com/phpmyadmin/phpmyadmin/commit/73cdd13a83c1710af58f2fd58a51102fe85e961e
  Author: Michal Čihař <michal at cihar.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M test/classes/PMA_Config_test.php

  Log Message:
  -----------
  Merge pull request #994 from mebjas/QA_4_1

Correcting test for Config.class.php


  Commit: 3bc935063f1add9549315607ae43addd370ef66f
      https://github.com/phpmyadmin/phpmyadmin/commit/3bc935063f1add9549315607ae43addd370ef66f
  Author: Michal Čihař <michal at cihar.com>
  Date:   2014-03-06 (Thu, 06 Mar 2014)

  Changed paths:
    M test/classes/PMA_Config_test.php

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/QA_4_1'


Compare: https://github.com/phpmyadmin/phpmyadmin/compare/78a2e2113d44...3bc935063f1a


More information about the Git mailing list