Skip to content

Commit 312bd6e

Browse files
Merge pull request #3 from mike-elementor/patch-1
Update auth-helpers.php
2 parents 7c3c0fe + 66dfb85 commit 312bd6e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

phpunit/traits/auth-helpers.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ public function act_as_editor() {
4646
return $this->act_as( 'editor' );
4747
}
4848

49+
/**
50+
* @return \WP_User
51+
*/
52+
public function act_as_author() {
53+
return $this->act_as( 'author' );
54+
}
55+
4956
/**
5057
* @return \WP_User
5158
*/

0 commit comments

Comments
 (0)