mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 15:30:01 +02:00
refactor: add php autoloader (#2655)
This commit is contained in:
parent
b090b17bbf
commit
0ef298f9cc
9 changed files with 16 additions and 12 deletions
|
@ -48,7 +48,6 @@ class ActionImplementationTest extends TestCase {
|
|||
}
|
||||
|
||||
private function setAction($path) {
|
||||
require_once $path;
|
||||
$this->class = basename($path, '.php');
|
||||
$this->assertTrue(class_exists($this->class), 'class ' . $this->class . ' doesn\'t exist');
|
||||
$this->obj = new $this->class();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue