Use assertFalse instead of $this->isFalse
Codestyle Hathor cPanel.
Closes #3810
Merge pull request #3809 from wilsonge/patch-6

Use assertFalse instead of $this->isFalse
Change deprecated $app->getCfg() to $app->get().
Closes #3812
CodeStyle