Skip to content

Commit

Permalink
[#12921] - Changes to the changelog; corrected test
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Dec 18, 2018
1 parent 684f316 commit cc0ad96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 4 additions & 2 deletions CHANGELOG-4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@
- Renamed `Phalcon\Acl\Adapter\Memory::dropResourceAccess()` to `Phalcon\Acl\Adapter\Memory::dropSubjectAccess()` [#13639](https://github.com/phalcon/cphalcon/issues/13639)
- Renamed `Phalcon\Acl\Adapter\Memory::getRoless()` to `Phalcon\Acl\Adapter\Memory::getOperations()` [#13639](https://github.com/phalcon/cphalcon/issues/13639)
- Renamed `Phalcon\Acl\Adapter\Memory::getResources()` to `Phalcon\Acl\Adapter\Memory::getSubjects()` [#13639](https://github.com/phalcon/cphalcon/issues/13639)
- Changed `Phalcon\DI\FactoryDefault` to not load the `Phalcon\Session\Adapter\Files` using the name `session` by default [#12921](https://github.com/phalcon/cphalcon/issues/12921)

- Changed `Phalcon\DI\FactoryDefault` to not load by default
- the `Phalcon\Session\Adapter\Files` using the name `session`
- the `Phalcon\Session\Bag` using the name `sessionBag`
[#12921](https://github.com/phalcon/cphalcon/issues/12921)
## Removed
- PHP < 7.2 no longer supported
- Removed `xcache` support from adapters [#13628](https://github.com/phalcon/cphalcon/pull/13628)
Expand Down
12 changes: 5 additions & 7 deletions tests/unit/Di/FactoryDefault/ConstructCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ConstructCest
*/
public function diFactorydefaultConstruct(UnitTester $I)
{
$I->wantToTest("Di\FactoryDefault - __construct()");
$I->wantToTest('Di\FactoryDefault - __construct()');
$container = new FactoryDefault();
$services = $this->getServices();

Expand All @@ -40,22 +40,20 @@ private function getServices(): array
return [
'annotations' => 'Phalcon\Annotations\Adapter\Memory',
'assets' => 'Phalcon\Assets\Manager',
'cookies' => 'Phalcon\Http\Response\Cookies',
'crypt' => 'Phalcon\Crypt',
'cookies' => 'Phalcon\Http\Response\Cookies',
'dispatcher' => 'Phalcon\Mvc\Dispatcher',
'escaper' => 'Phalcon\Escaper',
'eventsManager' => 'Phalcon\Events\Manager',
'filter' => 'Phalcon\Filter',
'flash' => 'Phalcon\Flash\Direct',
'flashSession' => 'Phalcon\Flash\Session',
'filter' => 'Phalcon\Filter',
'modelsManager' => 'Phalcon\Mvc\Model\Manager',
'modelsMetadata' => 'Phalcon\Mvc\Model\MetaData\Memory',
'response' => 'Phalcon\Http\Response',
'request' => 'Phalcon\Http\Request',
'response' => 'Phalcon\Http\Response',
'router' => 'Phalcon\Mvc\Router',
'security' => 'Phalcon\Security',
'session' => 'Phalcon\Session\Adapter\Files',
'sessionBag' => 'Phalcon\Session\Bag',
'tag' => 'Phalcon\Tag',
'transactionManager' => 'Phalcon\Mvc\Model\Transaction\Manager',
'url' => 'Phalcon\Mvc\Url',
Expand All @@ -72,7 +70,7 @@ private function getServices(): array
*/
public function diFactoryDefaultConstructServices(UnitTester $I)
{
$I->wantToTest("Di\FactoryDefault - __construct() - Check services");
$I->wantToTest('Di\FactoryDefault - __construct() - Check services');
$container = new FactoryDefault();
$services = $this->getServices();

Expand Down

0 comments on commit cc0ad96

Please sign in to comment.