Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/Unit/Models/Assets/AssetResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
#[Group('contract')]
class AssetResolverTest extends ContractAbstractTest
{
public array $excludedMethods = [
'setGetInheritedProperties',
'getGetInheritedProperties'
];

public array $exludeMethodsForReturnTypeCheck = ['getByPath', 'getById'];

protected function getClassToTest(): string {
Expand Down
6 changes: 5 additions & 1 deletion tests/Unit/Models/DataObject/ConcreteObjectResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
#[Group('contract')]
class ConcreteObjectResolverTest extends ContractAbstractTest
{
public array $excludedMethods = ['__callStatic'];
public array $excludedMethods = [
'__callStatic',
'setGetInheritedProperties',
'getGetInheritedProperties'
];

public array $exludeMethodsForReturnTypeCheck = ['getById', 'getByPath'];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
#[Group('contract')]
class DataObjectFolderResolverTest extends ContractAbstractTest
{
public array $excludedMethods = ['__callStatic'];
public array $excludedMethods = [
'__callStatic',
'setGetInheritedProperties',
'getGetInheritedProperties'
];

public array $exludeMethodsForReturnTypeCheck = ['getById', 'getByPath'];

Expand Down
6 changes: 5 additions & 1 deletion tests/Unit/Models/DataObject/DataObjectResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
#[Group('contract')]
class DataObjectResolverTest extends ContractAbstractTest
{
public array $excludedMethods = ['__callStatic'];
public array $excludedMethods = [
'__callStatic',
'setGetInheritedProperties',
'getGetInheritedProperties'
];

public array $exludeMethodsForReturnTypeCheck = ['getById', 'getByPath'];

Expand Down
11 changes: 10 additions & 1 deletion tests/Unit/Models/Document/DocumentResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,16 @@
#[Group('contract')]
class DocumentResolverTest extends ContractAbstractTest
{
public array $exludeMethodsForReturnTypeCheck = ['getByPath', 'getById', 'create'];
public array $excludedMethods = [
'setGetInheritedProperties',
'getGetInheritedProperties'
];

public array $exludeMethodsForReturnTypeCheck = [
'getByPath',
'getById',
'create'
];

protected function getClassToTest(): string {
return Document::class;
Expand Down