function QuoteTest::testNodeQuote in Quote 7
Test the quote filter within nodes (as opposed to within comments).
File
- tests/
quote.test, line 108 - Test the Quote filter.
Class
- QuoteTest
- @file Test the Quote filter.
Code
function testNodeQuote() {
$this
->addNode('quote', $this->sampleText1 . "\n\n" . '[quote=foo]' . $this->sampleText2 . '[/quote]');
$this
->assertText($this->sampleText1, 'Node content detected successfully.', 'Quote');
$this
->assertText('foo wrote: ' . $this->sampleText2, 'Quote detected successfully.', 'Quote');
}