Skip to content

Commit

Permalink
Update deprecated method use in console.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 11, 2017
1 parent 52ac1ed commit 416247f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/TestCase/Console/ConsoleIoTest.php
Expand Up @@ -482,7 +482,7 @@ public function testSetLoggersVerbose()

$this->assertNotEmpty(Log::engine('stderr'));
$engine = Log::engine('stdout');
$this->assertEquals(['notice', 'info', 'debug'], $engine->config('levels'));
$this->assertEquals(['notice', 'info', 'debug'], $engine->getConfig('levels'));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Console/HelperRegistryTest.php
Expand Up @@ -73,7 +73,7 @@ public function testLoad()
public function testLoadWithConfig()
{
$result = $this->helpers->load('Simple', ['key' => 'value']);
$this->assertEquals('value', $result->config('key'));
$this->assertEquals('value', $result->getConfig('key'));
}

/**
Expand Down

0 comments on commit 416247f

Please sign in to comment.