Skip to content

Commit

Permalink
Adjusted hashes for fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed Nov 6, 2019
1 parent 4ad40ce commit 8549da1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - 2019-11-06

### Fixed
- concern_controller test generator (namespace)
- middleware test generator (namespace)
- model test generator (doc property comment)

## [1.0.0] - 2019-10-16

This component has been decoupled from the [OriginPHP framework](https://www.originphp.com/).
6 changes: 3 additions & 3 deletions tests/TestCase/Console/Command/GenerateCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function testGenerateConcernController()
$filename = TESTS.DS.'TestCase'.DS.'Http'.DS.'Controller'.DS.'Concern'.DS.'DummyTest.php';
$this->assertOutputContains('TestCase/Http/Controller/Concern/DummyTest.php');
$this->assertFileExists($filename);
$this->assertFileHash('5245051fbd109926d5ea27ff2995eb35', $filename);
$this->assertFileHash('ea2963939952af4e4692926f1b658cec', $filename);
unlink($filename);
}

Expand Down Expand Up @@ -373,7 +373,7 @@ public function testGenerateModel()
$filename = TESTS.DS.'TestCase'.DS.'Model'.DS.'DummyTest.php';
$this->assertOutputContains('tests/TestCase/Model/DummyTest.php');
$this->assertFileExists($filename);
$this->assertFileHash('65d447d47d3ece7e2823d07bc7365eb9', $filename);
$this->assertFileHash('b26905f284cff1f05aec9d57e82d0cb1', $filename);

unlink($filename);

Expand Down Expand Up @@ -407,7 +407,7 @@ public function testGenerateMiddleware()
$filename = TESTS.DS.'TestCase'.DS .'Http'.DS . 'Middleware'.DS.'DummyMiddlewareTest.php';
$this->assertOutputContains('TestCase/Http/Middleware/DummyMiddlewareTest.php');
$this->assertFileExists($filename);
$this->assertFileHash('7f727124d4b544fd41ba510721bd03c9', $filename);
$this->assertFileHash('b87fd9858756d3f1eed6991329d61fc3', $filename);
unlink($filename);
}

Expand Down

0 comments on commit 8549da1

Please sign in to comment.