Create a new file, initialize phpbb, then run that code and output some
results
On Feb 9, 2014 10:41 PM, "Matt Friedman" <notifications@github.com> wrote:

> In tests/operators/rule_operator_base.php:
>
> > +		$this->config = new \phpbb\config\config(array('nestedset_rules_lock' => 0));
> > +		set_config(null, null, null, $this->config);
> > +
> > +		$this->lock = new \phpbb\lock\db('nestedset_rules_lock', $this->config, $this->db);
> > +		$this->nestedset_rules = new \phpbb\boardrules\operators\nestedset_rules($this->db, $this->lock, 'phpbb_boardrules');
> > +	}
> > +
> > +	/**
> > +	* Get the rule operator
> > +	*
> > +	* @return \phpbb\boardrules\operators\rule
> > +	* @access protected
> > +	*/
> > +	protected function get_rule_operator()
> > +	{
> > +		return new \phpbb\boardrules\operators\rule($this->container, $this->nestedset_rules, 'phpbb_boardrules');
>
> How can I test that?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/phpbb-extensions/boardrules/pull/25/files#r9574070>
> .
>