[wp-trac] [WordPress Trac] #29020: Unit tests for dbDelta()

WordPress Trac noreply at wordpress.org
Fri Aug 22 13:15:34 UTC 2014


#29020: Unit tests for dbDelta()
-------------------------+------------------------------
 Reporter:  jdgrimes     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------------------

Comment (by jdgrimes):

 Replying to [comment:2 nacin]:
 > Awesome, thanks! Let's toss the tests for #20263 into that ticket,
 rather than committing them now. (Now that we have a merged repo, they
 should be committed with the code to fix it.)
 >
 > The best place for these tests is likely
 tests/phpunit/tests/db/dbDelta.php, class name Tests_DB_dbDelta.
 (Alternatively, tests/phpunit/tests/admin/includesUpgrade.php, class
 Tests_Admin_includesUpgrade.)

 [attachment:29020.2.diff] moves the tests to
 `tests/phpunit/tests/db/dbDelta.php`, changes the class name, and removes
 the tests for #20263.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29020#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list