diff --git a/tests/integration/GrowPanelTest.php b/tests/integration/GrowPanelTest.php index 3f39eed..fb88f00 100644 --- a/tests/integration/GrowPanelTest.php +++ b/tests/integration/GrowPanelTest.php @@ -137,18 +137,17 @@ public function test_the_grow_route_answers_each_card_with_its_own_state() { $this->assertCount( $n, $this->calls ); } - public function test_the_post_box_shows_clicks_revenue_lost_links_and_the_last_change_escaped() { + public function test_the_post_box_shows_scores_google_numbers_and_one_link_escaped() { $id = $this->post(); wp_set_current_user( $this->user( 'administrator' ) ); $res = rest_do_request( new \WP_REST_Request( 'GET', '/monoranks/v1/admin/post/' . $id ) ); $this->assertSame( 200, $res->get_status() ); $html = $res->get_data()['html']; - $this->assertStringContainsString( 'Google search, 28 days', $html ); + $this->assertStringContainsString( 'title="Google, 28 days"', $html ); $this->assertMatchesRegularExpression( '#