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 e6a4535 commit 1348782Copy full SHA for 1348782
.travis.yml
@@ -17,7 +17,7 @@ before_script:
17
- ./cc-test-reporter before-build
18
19
script:
20
- - vendor/bin/phpunit
+ - vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-text
21
22
after_success:
23
- bash <(curl -s https://codecov.io/bash)
tests/Carbon/CliTest.php
@@ -20,4 +20,12 @@ public function testGetCommands()
'macro' => Macro::class,
], (new Cli())->getCommands());
}
+
24
+ /**
25
+ * @covers ::getPackageName
26
+ */
27
+ public function testGetPackageName()
28
+ {
29
+ $this->assertSame('nesbot/carbon', (new Cli())->getPackageName());
30
+ }
31
0 commit comments