Skip to content

Commit

Permalink
Adjust unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jakejackson1 committed Feb 26, 2024
1 parent 72c2633 commit 46c4a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ public function test_css_grid_insertion() {

$this->class->generate( $field );

$this->assertSame(' grid grid-6', $field->cssClass );
$this->assertStringContainsString('grid grid-6', $field->cssClass );

$this->class->generate( $field );
$this->assertSame(' grid grid-6', $field->cssClass );
$this->assertStringContainsString('grid grid-6', $field->cssClass );

ob_end_clean();
}
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/unit-tests/test-field-container.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public function test_skipped_fields() {
$this->generate( $field );

/* If the field was skipped we remove any of our column class fields (gf_left_third ect) */
$this->assertEquals( ' ', $field->cssClass );
$this->assertEmpty( $field->cssClass );
}

/**
Expand Down

0 comments on commit 46c4a1e

Please sign in to comment.