chore: Relocate classes

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2024-04-21 21:09:32 +02:00
parent 5e1f4be413
commit cda692d4de
285 changed files with 1037 additions and 1550 deletions

View File

@@ -27,8 +27,8 @@ namespace SPT\Domain\Notification\Services;
use PHPUnit\Framework\Attributes\Group;
use PHPUnit\Framework\MockObject\Exception;
use PHPUnit\Framework\MockObject\MockObject;
use SP\DataModel\ItemSearchData;
use SP\Domain\Common\Services\ServiceException;
use SP\Domain\Core\Dtos\ItemSearchDto;
use SP\Domain\Core\Exceptions\ConstraintException;
use SP\Domain\Core\Exceptions\QueryException;
use SP\Domain\Notification\Models\Notification as NotificationModel;
@@ -53,7 +53,7 @@ class NotificationTest extends UnitaryTestCase
public function testSearchForUserId()
{
$itemSearchData = new ItemSearchData();
$itemSearchData = new ItemSearchDto();
$this->notificationRepository
->expects($this->once())
@@ -98,7 +98,7 @@ class NotificationTest extends UnitaryTestCase
$this->context->setUserData($userDataDto);
$itemSearchData = new ItemSearchData();
$itemSearchData = new ItemSearchDto();
$this->notificationRepository
->expects($this->once())
@@ -112,7 +112,7 @@ class NotificationTest extends UnitaryTestCase
{
$userData = $this->context->getUserData();
$itemSearchData = new ItemSearchData();
$itemSearchData = new ItemSearchDto();
$this->notificationRepository
->expects($this->once())