CYS - Fix register testimonials category as reviews failing test (#48719)
* Fix register testimonials category as reviews failing test * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
a80e3e8a56
commit
4976011b54
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: dev
|
||||
|
||||
CYS - Fix the "test_fetch_patterns_should_register_testimonials_category_as_reviews" tests.
|
|
@ -233,9 +233,12 @@ class PTKPatternsStoreTest extends \WP_UnitTestCase {
|
|||
);
|
||||
|
||||
$this->ptk_client
|
||||
->expects( $this->once() )
|
||||
->expects( $this->exactly( 2 ) )
|
||||
->method( 'fetch_patterns' )
|
||||
->willReturn( $ptk_patterns );
|
||||
->willReturnOnConsecutiveCalls(
|
||||
$ptk_patterns,
|
||||
array()
|
||||
);
|
||||
|
||||
$this->pattern_store->fetch_patterns();
|
||||
|
||||
|
|
Loading…
Reference in New Issue