We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb52c9c commit 5f87178Copy full SHA for 5f87178
.gitignore
@@ -5,3 +5,4 @@
5
/tests/fixtures/**/vendor/
6
/tests/test-git/
7
/coverage/
8
+/.phpunit.result.cache
tests/PluginTest.php
@@ -11,8 +11,8 @@ class PluginTest extends TestCase
11
{
12
public function testPlugin()
13
14
- $composer = $this->createMock('Composer\Composer');
15
- $io = $this->createMock('Composer\IO\IOInterface');
+ $composer = $this->getMockBuilder('Composer\Composer')->getMock();
+ $io = $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
16
17
$plugin = new Plugin();
18
$plugin->activate($composer, $io);
0 commit comments