[TYPO3-core] RFC: #14860: Pagerenderer - use better method for adding meta tags
Oliver Klee
typo3-german-02 at oliverklee.de
Fri Jun 25 10:26:52 CEST 2010
Hi,
Am 25.06.2010 08:15, schrieb Jigal van Hemert:
> @Olli : this one would be a great candidate for a unit test, but it
> doesn't return anything. How can that be handled???
you'll need three tests which each will do the following:
1. using a fixture (page renderer instance), set a meta tag
2. check that the output of render for PART_HEADER contains (or not
contains) the corresponding meta tag
These are the tests which you'll need:
1. no meta tags if none have been set (or only the default meta tags, if
there are any)
2. one meta tag can be added
3. several (= two) meta tags can be added
Oli
--
Certified TYPO3 Integrator | TYPO3 Security Team Member
More information about the TYPO3-team-core
mailing list