Plugin Directory

Changeset 621364


Ignore:
Timestamp:
11/05/2012 06:46:15 PM (13 years ago)
Author:
convissor
Message:

Explain why can't use PHPUnit's @expectedException functionality.

Location:
oop-plugin-template-solution/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • oop-plugin-template-solution/trunk/oop-plugin-template-solution.php

    r621307 r621364  
    88 *
    99 * Plugin URI: http://wordpress.org/extend/plugins/oop-plugin-template-solution/
    10  * Version: 1.0.1
     10 * Version: 1.0.2
    1111 *         (Remember to change the VERSION constant, below, as well!)
    1212 * Author: Daniel Convissor
     
    5050     * This plugin's version
    5151     */
    52     const VERSION = '1.0.1';
     52    const VERSION = '1.0.2';
    5353
    5454    /**
  • oop-plugin-template-solution/trunk/readme.txt

    r621307 r621364  
    186186== Changelog ==
    187187
     188= 1.0.2 (2012-11-05) =
     189* Explain why can't use PHPUnit's @expectedException functionality.
     190
    188191= 1.0.1 (2012-11-05) =
    189192* Clarify instructions and descriptions.
  • oop-plugin-template-solution/trunk/tests/LoginTest.php

    r621289 r621364  
    7272     * How to account for expected errors and test wp_redirect() did what
    7373     * is expected
     74     *
     75     * Can't use PHPUnit's expectedException / expectedExceptionMessage
     76     * functionality because test method execution ends when the error is
     77     * generated.  We need this test method to run to its end so it can check
     78     * the behavior after the error.
    7479     */
    7580    public function test_redirect() {
Note: See TracChangeset for help on using the changeset viewer.