psr12 fixes for new PHP_CodeSniffer (#4795)
[openemr.git] / tests / old_unit_dir / OptionsTest.php
blobec76c1307a5ac7aade815be6d5349d5b47ed29e4
1 <?php
3 /* Copyright © 2010 by Andrew Moore <amoore@cpan.org> */
4 /* Licensing information appears at the end of this file. */
5 require_once dirname(__FILE__) . '/BaseHarness.class.php';
7 class OptionsTest extends BaseHarness
9 public function test_disp_end_cell()
11 global $item_count;
12 $item_count = 1;
13 $expected = '</td>';
14 ob_start();
15 disp_end_cell();
16 $captured = ob_get_clean();
17 $this->assertEquals($expected, $captured);
22 This file is free software: you can redistribute it and/or modify it under the
23 terms of the GNU General Public License as publish by the Free Software
24 Foundation.
26 This file is distributed in the hope that it will be useful, but WITHOUT ANY
27 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
28 PARTICULAR PURPOSE. See the GNU Gneral Public License for more details.
30 You should have received a copy of the GNU General Public Licence along with
31 this file. If not see <http://www.gnu.org/licenses/>.