WordPress.org

Make WordPress Core

Changeset 897 in tests for trunk/tests/jacob/TestFormatting.php


Ignore:
Timestamp:
07/09/2012 04:47:34 PM (6 years ago)
Author:
nacin
Message:

Enable PHPUnit strict mode by default.

Mark a test without assertions as incomplete (strict mode will do this implicitly).
Only define a multisite test if is_multisite(), otherwise no assertions are run.

There are now a potential for failures if a test omits output improperly,
or if a test takes too long.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/jacob/TestFormatting.php

    r830 r897  
    4848    }
    4949    function test_returns_false_for_non_utf8_strings() {
     50        $this->markTestIncomplete( 'This test does not have any assertions.' );
     51
    5052        $big5 = $this->get_testdata('test_big5.txt');
    5153        $big5 = $big5[0];
Note: See TracChangeset for help on using the changeset viewer.