Skip to content

Commit

Permalink
Add template type setting to fake View WP_Post
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkatz committed Sep 2, 2015
1 parent a4f8a7e commit d3ebf2f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit-tests/connector-API_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ public function _get_new_view_id() {
// Set the View settigns
update_post_meta( $view_post_type_id, '_gravityview_template_settings', GravityView_View_Data::get_default_args() );

// Set the template to be table
update_post_meta( $view_post_type_id, '_gravityview_directory_template', 'default_table' );

return $view_post_type_id;

}
Expand Down

0 comments on commit d3ebf2f

Please sign in to comment.