public function profileSlowQueries($slowms = 100) { return $this->executeCommand(array('profile' => 1, 'slowms' => (int) $slowms)); }
public function testProfileSlowQueries() { $result = $this->database->profileSlowQueries(200); $this->assertArrayHasKey('was', $result); $this->assertArrayHasKey('slowms', $result); }