diff --git a/tests/unit-tests/GravityView_Edit_Entry_Test.php b/tests/unit-tests/GravityView_Edit_Entry_Test.php index 5d01a59e9..fbcc1fc13 100644 --- a/tests/unit-tests/GravityView_Edit_Entry_Test.php +++ b/tests/unit-tests/GravityView_Edit_Entry_Test.php @@ -1925,8 +1925,8 @@ public function test_field_visibility_and_editability_admin() { list( $output, $render, $entry ) = $this->_emulate_render( $form, $view, $entry ); - $this->assertNotContains( 'input_1', $output ); - $this->assertNotContains( 'input_2', $output ); + $this->assertNotContains( "name='input_1'", $output ); + $this->assertNotContains( "name='input_2'", $output ); $this->assertEquals( 'this is one', $entry[1] ); $this->assertEquals( 'this is two', $entry[2] ); @@ -1940,8 +1940,8 @@ public function test_field_visibility_and_editability_admin() { list( $output, $render, $entry ) = $this->_emulate_render( $form, $view, $entry ); - $this->assertNotContains( 'input_1', $output ); - $this->assertContains( 'input_2', $output ); + $this->assertNotContains( "name='input_1'", $output ); + $this->assertContains( "name='input_2'", $output ); $this->assertEquals( 'this is one', $entry[1] ); $this->assertEquals( '666', $entry[2] ); @@ -1955,8 +1955,8 @@ public function test_field_visibility_and_editability_admin() { list( $output, $render, $entry ) = $this->_emulate_render( $form, $view, $entry ); - $this->assertContains( 'input_1', $output ); - $this->assertNotContains( 'input_2', $output ); + $this->assertContains( "name='input_1'", $output ); + $this->assertNotContains( "name='input_2'", $output ); $this->assertNotEquals( 'this is one', $entry[1] ); $this->assertEquals( '666', $entry[2] );