public function skip() { $this->skipIf(!MongoDb::enabled(), 'MongoDb is not enabled'); $this->skipIf(!CouchDb::enabled(), 'CouchDb is not enabled'); }
public function testEnabled() { $this->assertEqual(CouchDb::enabled(), true); $this->assertEqual(CouchDb::enabled('arrays'), true); $this->assertEqual(CouchDb::enabled('transactions'), false); $this->assertEqual(CouchDb::enabled('booleans'), true); $this->assertEqual(CouchDb::enabled('relationships'), false); }