login(); // Test creating topic $post = $this->create_topic(2, 'Test Topic 1', 'This is a test topic posted by the testing framework.'); $crawler = self::request('GET', "viewtopic.php?t={$post['topic_id']}&sid={$this->sid}"); $this->assertContains('This is a test topic posted by the testing framework.', $crawler->filter('html')->text()); // Test creating a reply with bbcode $post2 = $this->create_post(2, $post['topic_id'], 'Re: Test Topic 1', 'This is a test [b]post[/b] posted by the testing framework.'); $crawler = self::request('GET', "viewtopic.php?t={$post2['topic_id']}&sid={$this->sid}"); $this->assertContains('This is a test post posted by the testing framework.', $crawler->filter('html')->text()); // Test quoting a message $crawler = self::request('GET', "posting.php?mode=quote&f=2&t={$post2['topic_id']}&p={$post2['post_id']}&sid={$this->sid}"); $this->assertContains('This is a test post posted by the testing framework.', $crawler->filter('html')->text()); } } a href='/web/forums/log/phpBB/includes/template/twig/node/php.php'>logtreecommitdiffstats
path: root/phpBB/includes/template/twig/node/php.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-07-13 10:37:43 -0700
committerNathan Guse <nathaniel.guse@gmail.com>2013-07-13 10:37:43 -0700
commitb6c3939c32747f388081b42aa6f303e76ebd8fbf (patch)
treeb94a8cd70c5fb056a29ee6b862bd88fa993874ed /phpBB/includes/template/twig/node/php.php
parentf22a53f2cf5d2894a5e8cacbf9884f9e537f54f5 (diff)
parent8f95ef55a65cbf58e74840957cf9acfaf9e16d31 (diff)
downloadforums-b6c3939c32747f388081b42aa6f303e76ebd8fbf.tar
forums-b6c3939c32747f388081b42aa6f303e76ebd8fbf.tar.gz
forums-b6c3939c32747f388081b42aa6f303e76ebd8fbf.tar.bz2
forums-b6c3939c32747f388081b42aa6f303e76ebd8fbf.tar.xz
forums-b6c3939c32747f388081b42aa6f303e76ebd8fbf.zip
Merge pull request #1543 from nickvergessen/ticket/11685
[ticket/11685] Remove logout confirmation page
Diffstat (limited to 'phpBB/includes/template/twig/node/php.php')
0 files changed, 0 insertions, 0 deletions