Skip to content

Commit f68720a

Browse files
committed
Merge branch 'master' into v3
2 parents d4e3c82 + 1073cc9 commit f68720a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/sqlsrv/ezSQL_sqlsrvTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function setUp() {
8383
* This method is called after a test is executed.
8484
*/
8585
protected function tearDown() {
86-
$this->object->query('TRUNCATE TABLE unit_test');
86+
$this->object->query('DROP TABLE unit_test');
8787
$this->object = null;
8888
} // tearDown
8989

@@ -230,7 +230,6 @@ public function testDelete()
230230
public function testSelecting()
231231
{
232232
$this->object->quick_connect(self::TEST_DB_USER, self::TEST_DB_PASSWORD, self::TEST_DB_NAME);
233-
$this->assertEquals(0, $this->object->query('DROP TABLE IF EXITS unit_test'));
234233
$this->object->query('CREATE TABLE unit_test(id integer, test_key varchar(50), PRIMARY KEY (ID))');
235234
$this->object->insert('unit_test', array('id'=>8, 'test_key'=>'testing 8' ));
236235
$this->object->insert('unit_test', array('id'=>9, 'test_key'=>'testing 9' ));

0 commit comments

Comments
 (0)