File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 10
10
processIsolation =" false"
11
11
stopOnFailure =" false" >
12
12
<testsuites >
13
- <testsuite name =" Helpers Test Suite" >
13
+ <testsuite name =" PHP-IMAP Test Suite" >
14
14
<directory >tests</directory >
15
15
</testsuite >
16
16
</testsuites >
26
26
<log type =" coverage-text" target =" build/coverage.txt" />
27
27
<log type =" coverage-clover" target =" build/logs/clover.xml" />
28
28
</logging >
29
+ <php >
30
+ <env name =" APP_ENV" value =" testing" />
31
+ </php >
29
32
</phpunit >
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /*
3
+ * File: InitialTest.php
4
+ * Category: test
5
+ * Author: M.Goldenbaum
6
+ * Created: 02.01.21 04:42
7
+ * Updated: -
8
+ *
9
+ * Description:
10
+ * -
11
+ */
12
+
13
+ use PHPUnit \Framework \TestCase ;
14
+ use \Webklex \PHPIMAP \ClientManager ;
15
+
16
+ class InitialTest extends TestCase {
17
+ protected $ cm ;
18
+
19
+ public function setUp () {
20
+ $ this ->cm = new ClientManager ();
21
+ }
22
+
23
+ public function testConfigDefaultAccount () {
24
+ $ this ->assertEquals ("default " , ClientManager::get ("default " ));
25
+ }
26
+ }
You can’t perform that action at this time.
0 commit comments