[wp-unit-tests] [WordPress Unit Tests] #115: Unit tests for WP#18158

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 2 13:03:36 UTC 2012


#115: Unit tests for WP#18158
-----------------------------+------------------
 Reporter:  bananastalktome  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:
Component:  Meta/Options     |  Resolution:
 Keywords:                   |
-----------------------------+------------------
Changes (by bananastalktome):

 * cc: bananastalktome@… (added)


Comment:

 @scribu This may be an unnecessary check, but I was ensuring that, once
 the metadata was removed, the same type of assertion from line ~92 (with
 the {{{'NOT EXISTS'}}} compare for {{{'meta_key'}}}) would then return
 that user. Would this be best to leave out of this particular test / is it
 covered already by other tests?

 @kurtpayne Besides the default admin user, a user for this test is already
 created in the {{{setUp}}} method of {{{Tests_Meta}}}, correct?

 Again, I'm new to unit testing and feedback like this is very helpful for
 me. Thanks!

-- 
Ticket URL: <https://unit-tests.trac.wordpress.org/ticket/115#comment:3>
WordPress Unit Tests <https://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list