refactor getNodes into a new NodeController and update refs

This commit is contained in:
Yisroel Baum 2026-04-17 11:29:55 +03:00
parent acdfc14442
commit 38d06fce43
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
4 changed files with 40 additions and 27 deletions

View file

@ -23,7 +23,7 @@ class TextControllerTest extends TestCase
$this->textRepo->create(new CreateTextDto(
name: 'test text',
));
$this->controller = new TextController($this->textRepo, new FakeNodeRepository);
$this->controller = new TextController($this->textRepo);
}
public function test_get_one_text(): void