Skip to content

Commit

Permalink
Fix test case expected string
Browse files Browse the repository at this point in the history
  • Loading branch information
bignall committed Sep 30, 2016
1 parent 4f50d20 commit 14252a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-cmb-types.php
Expand Up @@ -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' ) )
);
}
Expand Down

0 comments on commit 14252a0

Please sign in to comment.