Skip to content

Commit

Permalink
One to go...
Browse files Browse the repository at this point in the history
Almost fixes #1345
  • Loading branch information
soulseekah committed Oct 23, 2019
1 parent 12d048d commit 0406da2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/unit-tests/GravityView_Edit_Entry_Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -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] );

Expand All @@ -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] );

Expand All @@ -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] );

Expand Down

0 comments on commit 0406da2

Please sign in to comment.