[Wp-unit-tests] [WordPress Unit Tests] #22: get_template_part() tests

WordPress Unit Tests noreply at wordpress.org
Fri Jul 29 18:26:48 UTC 2011


#22: get_template_part() tests
----------------------------+-----------------
  Reporter:  aaroncampbell  |      Owner:
      Type:  enhancement    |     Status:  new
  Priority:  major          |  Milestone:
 Component:  Capabilities   |    Version:
Resolution:                 |   Keywords:
----------------------------+-----------------

Comment (by westi):

 As mentioned in IRC you can just switch_theme inside the test like here:
 http://unit-tests.trac.wordpress.org/browser/wp-
 testcase/test_admin_includes_theme.php#L30

-- 
Ticket URL: <http://unit-tests.trac.wordpress.org/ticket/22#comment:2>
WordPress Unit Tests <http://unit-tests.trac.wordpress.org>
My example project


More information about the wp-unit-tests mailing list