Skip to content

Commit

Permalink
Default to DelegatingPsrLogger
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ committed Aug 2, 2019
1 parent 4428720 commit b9f5be0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions tests/Unit/Libraries/Cms/Image/ImageFilterTest.php
Expand Up @@ -78,20 +78,20 @@ public function testConstructor()
}

/**
* Tests the ImageFilter::getLogger for a NullLogger.
* Tests the ImageFilter::getLogger for a DelegatingPsrLogger.
*
* @return void
*
* @since __DEPLOY_VERSION__
*/
public function testGetNullLogger()
public function testGetDelegatingPsrLogger()
{
$logger = $this->instance->getLogger();

$this->assertInstanceOf(
'Psr\\Log\\NullLogger',
'Joomla\\CMS\\Log\\DelegatingPsrLogger',
$logger,
'When a logger has not been set, an instance of NullLogger should be returned.'
'When a logger has not been set, an instance of DelegatingPsrLogger should be returned.'
);
}

Expand Down
8 changes: 4 additions & 4 deletions tests/Unit/Libraries/Cms/Image/ImageTest.php
Expand Up @@ -1363,22 +1363,22 @@ public function testDestroy()
}

/**
* Tests the Joomla\CMS\Image::getLogger method
* Tests the Joomla\CMS\Image\Image::getLogger method
*
* @return void
*
* @covers Joomla\CMS\Image\Image::getLogger
*
* @since __DEPLOY_VERSION__
*/
public function testGetNullLogger()
public function testGetDelegatingPsrLogger()
{
$logger = $this->instance->getLogger();

$this->assertInstanceOf(
'Psr\\Log\\NullLogger',
'Joomla\\CMS\\Log\\DelegatingPsrLogger',
$logger,
'When a logger has not been set, an instance of NullLogger should be returned.'
'When a logger has not been set, an instance of DelegatingPsrLogger should be returned.'
);
}

Expand Down

0 comments on commit b9f5be0

Please sign in to comment.