File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ function test_change_mail_body () {
4848 global $ USERINFO ;
4949 $ _SERVER ['REMOTE_USER ' ] = 'john ' ;
5050 $ USERINFO ['name ' ] = 'John Smith ' ;
51- saveWikiText ('start ' , 'start first ' , 'foobar ' );
51+ saveWikiText ('start ' , 'start first ' , 'summary of save 1 ' );
5252 $ oldrevision = pageinfo ();
5353 $ oldrevision = $ oldrevision ['lastmod ' ];
54- sleep ( 1 );
54+ $ this -> waitForTick ( true );
5555 global $ INFO ;
5656 $ INFO = pageinfo ();
57- saveWikiText ('start ' , 'start second ' , 'foobar ' );
57+ saveWikiText ('start ' , 'start second ' , 'summary of save 2 ' );
5858 $ newrevision = pageinfo ();
5959 $ newrevision = $ newrevision ['lastmod ' ];
6060
@@ -67,7 +67,7 @@ function test_change_mail_body () {
6767Hostname : @HOSTNAME@
6868Previous Revision: http://wiki.example.com ' . DOKU_BASE . 'doku.php?id=start&rev= ' . $ oldrevision . '
6969New Revision : http://wiki.example.com ' . DOKU_BASE . 'doku.php?id=start&rev= ' . $ newrevision . '
70- Edit Summary : foobar
70+ Edit Summary : summary of save 2
7171User : @USER@
7272
7373http://wiki.example.com ' . DOKU_BASE . 'doku.php?id=start&do=diff&rev2[0]= ' . $ oldrevision . '&rev2[1]= ' . $ newrevision . '&difftype=sidebyside
You can’t perform that action at this time.
0 commit comments