Conditions | 3 |
Paths | 4 |
Total Lines | 16 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | protected function setUp() |
||
14 | { |
||
15 | if (! extension_loaded('pdo')) { |
||
16 | $this->markTestSkipped('PDO is not installed'); |
||
17 | } |
||
18 | |||
19 | parent::setUp(); |
||
20 | |||
21 | if (! $this->_conn->getWrappedConnection() instanceof PDOConnection) { |
||
22 | $this->markTestSkipped('PDO-only test'); |
||
23 | } |
||
24 | |||
25 | $table = new Table('stmt_test'); |
||
26 | $table->addColumn('id', 'integer'); |
||
27 | $table->addColumn('name', 'text'); |
||
28 | $this->_conn->getSchemaManager()->dropAndCreateTable($table); |
||
29 | } |
||
55 |