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

WordPress Trac noreply at wordpress.org
Thu Jul 24 21:39:53 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:
-------------------------+------------------------------
Changes (by jdgrimes):

 * keywords:   => has-patch


Comment:

 [attachment:29020.diff] is a first pass. Once applied, run

 {{{
 $ phpunit tests/phpunit/tests/admin/functions/dbdelta.php
 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests... To execute these, use --group ajax.
 PHPUnit 3.7.28 by Sebastian Bergmann.

 Configuration read from
 /Users/johngrimes/svn/wordpress/trunk/phpunit.xml.dist

 ..S....

 Time: 10.83 seconds, Memory: 24.50Mb

 OK, but incomplete or skipped tests!
 Tests: 7, Assertions: 10, Skipped: 1.
 }}}

 Skipped test is for backticks, related to #20263.

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


More information about the wp-trac mailing list