@@ -86,7 +86,7 @@ public static function assertImageNotHasSizeSource( $attachment_id, $size_name,
8686 * @param string $message The Error message used to display when the assertion fails.
8787 */
8888 public static function assertFileNameIsEdited ( $ filename , $ message = '' ) {
89- self ::assertRegExp ( '/e\d{13}/ ' , $ filename , $ message );
89+ self ::assertMatchesRegularExpression ( '/e\d{13}/ ' , $ filename , $ message );
9090 }
9191
9292 /**
@@ -96,7 +96,7 @@ public static function assertFileNameIsEdited( $filename, $message = '' ) {
9696 * @param string $message The Error message used to display when the assertion fails.
9797 */
9898 public static function assertFileNameIsNotEdited ( $ filename , $ message = '' ) {
99- self ::assertNotRegExp ( '/e\d{13}/ ' , $ filename , $ message );
99+ self ::assertDoesNotMatchRegularExpression ( '/e\d{13}/ ' , $ filename , $ message );
100100 }
101101
102102 /**
@@ -107,7 +107,7 @@ public static function assertFileNameIsNotEdited( $filename, $message = '' ) {
107107 * @param string $message The Error message used to display when the assertion fails.
108108 */
109109 public static function assertSizeNameIsHashed ( $ size_name , $ hashed_size_name , $ message = '' ) {
110- self ::assertRegExp ( "/ {$ size_name }-\d{13}/ " , $ hashed_size_name , $ message );
110+ self ::assertMatchesRegularExpression ( "/ {$ size_name }-\d{13}/ " , $ hashed_size_name , $ message );
111111 }
112112
113113 /**
0 commit comments