Skip to content

Commit

Permalink
tmp: log b/c failures
Browse files Browse the repository at this point in the history
  • Loading branch information
justlevine committed Sep 23, 2024
1 parent 1192a61 commit bf73892
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/unit/CoreTableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public function test_retrieve_core_table_attribute_fields() {
];

$actual = graphql( compact( 'query', 'variables' ) );
error_log( print_r( $actual, true ) );

$this->assertArrayNotHasKey( 'errors', $actual, 'There should not be any errors' );
$this->assertArrayHasKey( 'data', $actual, 'The data key should be present' );
Expand Down Expand Up @@ -269,6 +270,7 @@ public function test_retrieve_core_table_attribute_fields_header_footer() {
];

$actual = graphql( compact( 'query', 'variables' ) );
error_log( print_r( $actual, true ) );
$this->assertArrayNotHasKey( 'errors', $actual, 'There should not be any errors' );
$this->assertArrayHasKey( 'data', $actual, 'The data key should be present' );
$this->assertArrayHasKey( 'post', $actual['data'], 'The post key should be present' );
Expand Down Expand Up @@ -440,6 +442,8 @@ public function test_retrieve_core_table_attribute_styles() {
];

$actual = graphql( compact( 'query', 'variables' ) );
error_log( print_r( $actual, true ) );

$this->assertArrayNotHasKey( 'errors', $actual, 'There should not be any errors' );
$this->assertArrayHasKey( 'data', $actual, 'The data key should be present' );
$this->assertArrayHasKey( 'post', $actual['data'], 'The post key should be present' );
Expand Down Expand Up @@ -512,7 +516,8 @@ public function test_retrieve_core_table_attribute_lock_gradient(): void {
];

$actual = graphql( compact( 'query', 'variables' ) );
$this->assertArrayNotHasKey( 'errors', $actual, 'There should not be any errors' );
error_log( print_r( $actual, true ) ); $this->assertArrayNotHasKey( 'errors', $actual, 'There should not be any errors' );

$this->assertArrayHasKey( 'data', $actual, 'The data key should be present' );
$this->assertArrayHasKey( 'post', $actual['data'], 'The post key should be present' );

Expand Down

0 comments on commit bf73892

Please sign in to comment.