Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kongtiaowang committed Nov 4, 2024
1 parent 09b0cab commit 56a1704
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/test_instrument/test_instrumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,16 @@ public function setUp(): void
'CommentID' => '11111111111111111',
]
);
$this->DB->insert(
'participant_accounts',
[
'ID' => '999999',
'Test_name' => 'testtest',
'SessionID' => '999999',
'Full_name' => 'Test Test',
'Status' => 'Created',
]
);
// Set up database wrapper and config
}

Expand All @@ -99,6 +109,8 @@ public function tearDown(): void
$this->DB->delete("candidate", ['CandID' => '900000']);
$this->DB->delete("flag", ['ID' => '999999']);
$this->DB->delete("test_names", ['ID' => '999999']);
$this->DB->delete("participant_accounts", ['ID' => '999999']);

parent::tearDown();
}

Expand Down

0 comments on commit 56a1704

Please sign in to comment.