public function test_build_time_query_minute_second() { $q = new WP_Date_Query(array()); $found = $q->build_time_query('post_date', '=', null, 15, 35); // $compare value is floating point - use regex to account for // varying precision on different PHP installations $this->assertRegExp("/DATE_FORMAT\\( post_date, '0\\.%i%s' \\) = 0\\.15350*/", $found); }