Permalink
Browse files

Fix test case expected string

  • Loading branch information...
bignall committed Sep 30, 2016
1 parent 4f50d20 commit 14252a0e7af404e2945873ab7bf5a1cb669e86b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/test-cmb-types.php
View
@@ -540,7 +540,7 @@ public function test_taxonomy_select_field_hierarchy() {
$field = $this->get_field_object( $args );
$this->assertHTMLstringsAreEqual(
'<select class="cmb2_select" name="options_test_field" id="options_test_field"><option value="" >None</option><optgroup label="test_category"><option value="number_2" >number_2</option></optgroup></select><p class="cmb2-metabox-description">This is a description</p>',
'<select class="cmb2_select" name="options_test_field" id="options_test_field"><option value="" >None</option><optgroup label="Uncategorized"><option value="number_2" >number_2</option></optgroup><optgroup label="test_category"></optgroup></select><p class="cmb2-metabox-description">This is a description</p>',
$this->capture_render( array( $this->get_field_type_object( $field ), 'render' ) )
);
}

0 comments on commit 14252a0

Please sign in to comment.