function test_largo_copyright_message() { $this->expectOutputRegex('/[.*]+/'); // This is excessively greedy, it expects any output at all largo_copyright_message(); // this should also test of_get_option( 'copyright_msg' ); $this->markTestIncomplete('This test has not been implemented yet.'); }
<?php } ?> </div> <?php } ?> </div> <div class="row-fluid clearfix"> <div class="span9"> <div class="footer-bottom clearfix"> <!-- If you enjoy this theme and use it on a production site we would appreciate it if you would leave the credit in place. Thanks :) --> <p class="footer-credit"><?php largo_copyright_message(); ?> </p> <p class="footer-credit"><?php printf(__('This site built with <a href="%s">Project Largo</a> from <a href="%s">INN</a> and proudly powered by <a href="%s" rel="nofollow">WordPress</a>.', 'largo'), 'http://largoproject.org', 'http://inn.org', 'http://wordpress.org'); ?> </p> </div> </div> <div class="span3"> <?php if (INN_MEMBER && of_get_option('inn_member_since')) { ?> <p class="hidden-phone"><?php printf(__("Proud member since %s", "largo"), of_get_option('inn_member_since')); ?>