File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<?php
22
33use \DrewM \MailChimp \MailChimp ;
4+ use PHPUnit \Framework \TestCase ;
45
5- class BatchTest extends PHPUnit_Framework_TestCase
6+ class BatchTest extends TestCase
67{
78
89 public function setUp ()
@@ -29,4 +30,4 @@ public function testNewBatch()
2930 $ this ->assertInstanceOf ('DrewM\MailChimp\Batch ' , $ Batch );
3031 }
3132
32- }
33+ }
Original file line number Diff line number Diff line change 11<?php
22
33use \DrewM \MailChimp \MailChimp ;
4+ use PHPUnit \Framework \TestCase ;
45
5- class ListsTest extends PHPUnit_Framework_TestCase
6+ class ListsTest extends TestCase
67{
78
89 public function setUp ()
@@ -29,4 +30,4 @@ public function testGetLists()
2930 $ this ->assertArrayHasKey ('lists ' , $ lists );
3031 }
3132
32- }
33+ }
Original file line number Diff line number Diff line change 11<?php
22
33use \DrewM \MailChimp \MailChimp ;
4+ use PHPUnit \Framework \TestCase ;
45
5- class MailChimpTest extends PHPUnit_Framework_TestCase
6+ class MailChimpTest extends TestCase
67{
78
89 public function setUp ()
@@ -18,7 +19,7 @@ public function setUp()
1819
1920 public function testInvalidAPIKey ()
2021 {
21- $ this ->setExpectedException ('\Exception ' );
22+ $ this ->expectException ('\Exception ' );
2223 $ MailChimp = new MailChimp ('abc ' );
2324 }
2425
You can’t perform that action at this time.
0 commit comments