Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Add return types and PHPDoc comments to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Mar 20, 2019
1 parent 31249e6 commit 604ba61
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions tests/AddCommandTest.php
Original file line number Diff line number Diff line change
@@ -1,25 +1,20 @@
<?php

declare(strict_types=1);

namespace pxgamer\GithubDeployKey;

use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

/**
* Class AddCommandTest
*/
class AddCommandTest extends TestCase
{
/**
* The test repository name
*/
/** @var string */
const TEST_REPO = 'pxgamer/deploy-key-test-repo';

/**
* Test for whether the repo key can be added
*/
public function testAddRepoKey()
/** @test*/
public function itCanSuccessfullyAddARepositoryKey(): void
{
$application = new Application();
$application->add(new AddCommand());
Expand Down

0 comments on commit 604ba61

Please sign in to comment.