Add functional tests

Closes #17
Yes, form keys are the csrf protection, do we use those in our forms?
On Sep 17, 2014 7:17 PM, "Matt Friedman" <notifications@github.com> wrote:

> In tests/functional/pages_functional_base.php:
>
> > +	{
> > +		$form_data = array_merge(array(
> > +			'page_title'		=> $page_title,
> > +			'page_content'		=> $page_content,
> > +			'page_route'		=> 'fn_' . time(),
> > +			'page_description'	=> '',
> > +			'parse_bbcode'		=> true,
> > +			'parse_smilies'		=> true,
> > +			'parse_magic_url'	=> true,
> > +			'parse_html'		=> false,
> > +			'page_template'		=> 'pages_default.html',
> > +			'page_order'		=> 0,
> > +			'page_links'		=> array(2),
> > +			'page_display'		=> true,
> > +			'page_guest_display'=> true,
> > +		), $additional_form_data);
>
> Doesn't it already have that with the form key / valid check? We shouldn't
> use a confirm box.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/phpbb-extensions/pages/pull/21/files#r17702650>.
>