Skip to content

Commit e181275

Browse files
committed
Fix course list block unit tests failing
1 parent 22944f3 commit e181275

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit-tests/blocks/test-class-sensei-course-list-block.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public function setUp(): void {
6262

6363
public function get_block_instance( $block_content, $block_parent, \WP_Block $instance ) {
6464
$this->block_instance = $instance;
65+
66+
return $block_content;
6567
}
6668

6769
public function testCourseListBlock_AddsAttributeToInnerTakeCourseButton_WhenRendered() {

0 commit comments

Comments
 (0)