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

WordPress Trac noreply at wordpress.org
Fri Aug 22 02:09:06 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 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.)

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


More information about the wp-trac mailing list