-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from dennisinteractive/CMS-1926-fix-unit-tests…
…-on-profile [CMS-1926] Remove invalid {#parent} call from models
- Loading branch information
Showing
2 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
diff --git a/lib/Model/OwnerReview.php b/lib/Model/OwnerReview.php | ||
--- a/lib/Model/OwnerReview.php (revision 455135ec30587fa5bc1c4cfc113ca3610371c7c1) | ||
+++ b/lib/Model/OwnerReview.php (date 1620148966560) | ||
@@ -179,9 +179,7 @@ | ||
*/ | ||
public function listInvalidProperties() | ||
{ | ||
- $invalidProperties = parent::listInvalidProperties(); | ||
- | ||
- return $invalidProperties; | ||
+ return []; | ||
} | ||
|
||
/** | ||
diff --git a/lib/Model/ContentBlocksCollection.php b/lib/Model/ContentBlocksCollection.php | ||
--- a/lib/Model/ContentBlocksCollection.php (revision 455135ec30587fa5bc1c4cfc113ca3610371c7c1) | ||
+++ b/lib/Model/ContentBlocksCollection.php (date 1620148966565) | ||
@@ -179,9 +179,7 @@ | ||
*/ | ||
public function listInvalidProperties() | ||
{ | ||
- $invalidProperties = parent::listInvalidProperties(); | ||
- | ||
- return $invalidProperties; | ||
+ return []; | ||
} | ||
|
||
/** | ||
diff --git a/lib/Model/BulkData.php b/lib/Model/BulkData.php | ||
--- a/lib/Model/BulkData.php (revision 455135ec30587fa5bc1c4cfc113ca3610371c7c1) | ||
+++ b/lib/Model/BulkData.php (date 1620148966554) | ||
@@ -179,9 +179,7 @@ | ||
*/ | ||
public function listInvalidProperties() | ||
{ | ||
- $invalidProperties = parent::listInvalidProperties(); | ||
- | ||
- return $invalidProperties; | ||
+ return []; | ||
} | ||
|
||
/** |