Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Commit

Permalink
Resolving some broken tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed May 16, 2019
1 parent bd6f13d commit f5caeb2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ class Config
protected $base_dir;

/** @var string The name of your API. */
protected $name = null;
protected $name;

/** @var string The description of your API. */
protected $description = null;
protected $description;

/** @var null|string The terms of service URL for your API. */
protected $terms = null;
Expand Down
6 changes: 5 additions & 1 deletion tests/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ public function testLoadFromXML(): void
$config = $this->getConfig();

$this->assertSame('Mill unit test API, Showtimes', $config->getName());
$this->assertSame('This is an example API for the purposes of showing how Mill works.', $config->getDescription());
$this->assertSame(
'This is an example API for the purposes of showing how Mill works.',
$config->getDescription()
);

$this->assertSame('https://example.com/terms', $config->getTerms());

$this->assertSame([
Expand Down

0 comments on commit f5caeb2

Please sign in to comment.