Skip to content

Commit

Permalink
tests: adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Rafael Azevedo committed Mar 23, 2022
1 parent 8d2995f commit fc92073
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Attributes/GeneralTraitsVO.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace HraDigital\Tests\Datatypes\Unit\Attributes;

use HraDigital\Datatypes\Traits\Entities\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\Attributes\General\HasActiveTrait;
use HraDigital\Datatypes\Attributes\General\HasAliasTrait;
use HraDigital\Datatypes\Attributes\General\HasCreatedAtTrait;
Expand All @@ -18,11 +17,12 @@
use HraDigital\Datatypes\Attributes\General\HasPositiveIntegerIDTrait;
use HraDigital\Datatypes\Attributes\General\HasPublishedTrait;
use HraDigital\Datatypes\Attributes\General\HasSeoFieldsTrait;
use HraDigital\Datatypes\Attributes\General\HasSurnameTrait;
use HraDigital\Datatypes\Attributes\General\HasTitleTrait;
use HraDigital\Datatypes\Attributes\General\HasUpdatableUpdatedAtTrait;
use HraDigital\Datatypes\Attributes\General\HasUuidTrait;
use HraDigital\Datatypes\Attributes\General\HasSurnameTrait;
use HraDigital\Datatypes\ValueObjects\AbstractValueObject;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessOnUpdateEventsTrait;

/**
* Testing Value Object for General Entity Traits.
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Attributes/LocationTraitsVO.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace HraDigital\Tests\Datatypes\Unit\Attributes;

use HraDigital\Datatypes\Traits\Entities\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\Attributes\Location\HasAddressTrait;
use HraDigital\Datatypes\Attributes\Location\HasCityTrait;
use HraDigital\Datatypes\Attributes\Location\HasCountryCodeTrait;
Expand All @@ -18,6 +17,7 @@
use HraDigital\Datatypes\Attributes\Location\HasStreetNumberTrait;
use HraDigital\Datatypes\Attributes\Location\HasStreetTrait;
use HraDigital\Datatypes\ValueObjects\AbstractValueObject;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessOnUpdateEventsTrait;

/**
* Testing Value Object for Location Entity Traits.
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/Attributes/PersonalTraitsVO.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

namespace HraDigital\Tests\Datatypes\Unit\Attributes;

use HraDigital\Datatypes\Traits\Entities\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\Attributes\Personal\HasCountryOfBirthTrait;
use HraDigital\Datatypes\Attributes\Personal\HasDateOfBirthTrait;
use HraDigital\Datatypes\Attributes\Personal\HasGenderTrait;
use HraDigital\Datatypes\Attributes\Personal\HasNationalityTrait;
use HraDigital\Datatypes\Attributes\Personal\HasPhotoTrait;
use HraDigital\Datatypes\ValueObjects\AbstractValueObject;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessOnUpdateEventsTrait;

/**
* Testing Value Object for Personal Entity Traits.
Expand Down
2 changes: 0 additions & 2 deletions tests/Unit/ValueObjects/AbstractValueObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
namespace HraDigital\Tests\Datatypes\Unit\ValueObjects;

use HraDigital\Datatypes\Exceptions\Entities\RequiredEntityValueMissingException;
use HraDigital\Datatypes\Exceptions\Entities\UnexpectedEntityValueException;
use HraDigital\Datatypes\Exceptions\Datatypes\ParameterOutOfRangeException;
use HraDigital\Datatypes\Datetime\Datetime;
use HraDigital\Datatypes\Scalar\Str;
use HraDigital\Tests\Datatypes\AbstractBaseTestCase;

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ValueObjects/TestingAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use HraDigital\Datatypes\Datetime\Datetime;
use HraDigital\Datatypes\Scalar\Str;
use HraDigital\Datatypes\Traits\ValueObjects\CanSerializeAllToJsonTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanSerializeAllToJsonTrait;

/**
* Test for JSON Serializable Object.
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/ValueObjects/TestingNestedValueObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use HraDigital\Datatypes\Datetime\Datetime;
use HraDigital\Datatypes\Scalar\Str;
use HraDigital\Datatypes\Traits\Entities\CanMassAssignStateTrait;
use HraDigital\Datatypes\Traits\Entities\CanProcessEntityStateTrait;
use HraDigital\Datatypes\Traits\Entities\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanMassAssignStateTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessEntityStateTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\Attributes\General\HasActiveTrait;
use HraDigital\Datatypes\Attributes\General\HasTitleTrait;
use HraDigital\Datatypes\Attributes\General\HasUpdatableUpdatedAtTrait;
Expand Down
6 changes: 3 additions & 3 deletions tests/Unit/ValueObjects/TestingValueObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

use HraDigital\Datatypes\Datetime\Datetime;
use HraDigital\Datatypes\Scalar\Str;
use HraDigital\Datatypes\Traits\Entities\CanMassAssignStateTrait;
use HraDigital\Datatypes\Traits\Entities\CanProcessEntityStateTrait;
use HraDigital\Datatypes\Traits\Entities\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanMassAssignStateTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessEntityStateTrait;
use HraDigital\Datatypes\ValueObjects\Traits\CanProcessOnUpdateEventsTrait;
use HraDigital\Datatypes\Attributes\General\HasActiveTrait;
use HraDigital\Datatypes\Attributes\General\HasEmailTrait;
use HraDigital\Datatypes\Attributes\General\HasPositiveIntegerIDTrait;
Expand Down

0 comments on commit fc92073

Please sign in to comment.