File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public function test_get_points_for_nonexistent_post(): void {
5252 */
5353 public function test_points_decay_over_time ( $ days_ago , $ expected_ratio ): void {
5454 // Create a test post.
55- $ post_id = $ this ->factory ->post ->create (
55+ $ post_id = $ this ->factory () ->post ->create (
5656 [
5757 'post_content ' => 'Test content ' ,
5858 'post_status ' => 'publish ' ,
@@ -96,7 +96,7 @@ public function age_decay_provider(): array {
9696 * @return void
9797 */
9898 public function test_points_caching (): void {
99- $ post_id = $ this ->factory ->post ->create (
99+ $ post_id = $ this ->factory () ->post ->create (
100100 [
101101 'post_content ' => 'Test content ' ,
102102 'post_status ' => 'publish ' ,
@@ -125,7 +125,7 @@ public function test_points_caching(): void {
125125 * @return void
126126 */
127127 public function test_different_activity_types (): void {
128- $ post_id = $ this ->factory ->post ->create (
128+ $ post_id = $ this ->factory () ->post ->create (
129129 [
130130 'post_content ' => 'Test content ' ,
131131 'post_status ' => 'publish ' ,
You can’t perform that action at this time.
0 commit comments