Added a new file for the test_suite.php with the construct and destructor0 CT#191

skala
Arthur Portugal 16 years ago
parent ba5c8561cd
commit 28e5a284ed
  1. 22
      tests/main/gradebook/lib/be/forumthreadlink.class.test.php

@ -0,0 +1,22 @@
<?php
class TestForumThreadLink extends UnitTestCase {
public function TestForumThreadLink() {
$this->UnitTestCase('Test Forum Thread Link');
}
public function __construct() {
// The constructor acts like a global setUp for the class
TestManager::create_test_course('COURSEFORUMTHREAD');
}
public function __destruct() {
// The destructor acts like a global tearDown for the class
TestManager::delete_test_course('COURSEFORUMTHREAD');
}
}
?>
Loading…
Cancel
Save