Skip to content

Add bare bone test for migration to 154 to 155 #24496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
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
6 changes: 4 additions & 2 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@ steps:
context: "Reader Unit Tests"
- label: "🔬 Keystone Unit Tests"
command: |
set -o pipefail
.buildkite/commands/shared-set-up.sh
xcodebuild \
-scheme Keystone \
-destination 'platform=iOS Simulator,OS=18.2,name=iPhone 16' \
-destination 'platform=iOS Simulator,OS=18.4,name=iPhone 16' \
test \
| xcbeautify
plugins: [$CI_TOOLKIT_PLUGIN]
Expand All @@ -116,10 +117,11 @@ steps:
context: "Unit Tests Keystone"
- label: "🔬 WordPressData Unit Tests"
command: |
set -o pipefail
.buildkite/commands/shared-set-up.sh
xcodebuild \
-scheme WordPressData \
-destination 'platform=iOS Simulator,OS=18.2,name=iPhone 16' \
-destination 'platform=iOS Simulator,OS=18.4,name=iPhone 16' \
test \
| xcbeautify
plugins: [$CI_TOOLKIT_PLUGIN]
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
</fetchIndex>
<userInfo/>
</entity>
<entity name="BlogAuthor" representedClassName="WordPress.BlogAuthor" syncable="YES">
<entity name="BlogAuthor" representedClassName=".BlogAuthor" syncable="YES">
<attribute name="avatarURL" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="deletedFromBlog" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES" syncable="YES"/>
<attribute name="displayName" optional="YES" attributeType="String" syncable="YES"/>
Expand Down Expand Up @@ -343,16 +343,16 @@
</fetchIndex>
<userInfo/>
</entity>
<entity name="DiffAbstractValue" representedClassName="WordPress.DiffAbstractValue" isAbstract="YES" syncable="YES">
<entity name="DiffAbstractValue" representedClassName=".DiffAbstractValue" isAbstract="YES" syncable="YES">
<attribute name="diffOperation" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="diffType" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="index" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="value" optional="YES" attributeType="String" syncable="YES"/>
</entity>
<entity name="DiffContentValue" representedClassName="WordPress.DiffContentValue" parentEntity="DiffAbstractValue" syncable="YES">
<entity name="DiffContentValue" representedClassName=".DiffContentValue" parentEntity="DiffAbstractValue" syncable="YES">
<relationship name="revisionDiff" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="RevisionDiff" inverseName="contentDiffs" inverseEntity="RevisionDiff" syncable="YES"/>
</entity>
<entity name="DiffTitleValue" representedClassName="WordPress.DiffTitleValue" parentEntity="DiffAbstractValue" syncable="YES">
<entity name="DiffTitleValue" representedClassName=".DiffTitleValue" parentEntity="DiffAbstractValue" syncable="YES">
<relationship name="revisionDiff" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="RevisionDiff" inverseName="titleDiffs" inverseEntity="RevisionDiff" syncable="YES"/>
</entity>
<entity name="Domain" representedClassName=".ManagedDomain" syncable="YES">
Expand Down Expand Up @@ -575,7 +575,7 @@
<attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
<relationship name="blog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Blog" inverseName="postTypes" inverseEntity="Blog" syncable="YES"/>
</entity>
<entity name="PublicizeConnection" representedClassName="WordPress.PublicizeConnection" syncable="YES">
<entity name="PublicizeConnection" representedClassName=".PublicizeConnection" syncable="YES">
<attribute name="connectionID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="dateExpires" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
<attribute name="dateIssued" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
Expand All @@ -596,14 +596,14 @@
<attribute name="userID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<relationship name="blog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Blog" inverseName="connections" inverseEntity="Blog" syncable="YES"/>
</entity>
<entity name="PublicizeInfo" representedClassName=".PublicizeInfo" syncable="YES">
<entity name="PublicizeInfo" representedClassName="PublicizeInfo" syncable="YES">
<attribute name="sharedPostsCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
<attribute name="shareLimit" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
<attribute name="sharesRemaining" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
<attribute name="toBePublicizedCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
<relationship name="blog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Blog" inverseName="publicizeInfo" inverseEntity="Blog"/>
</entity>
<entity name="PublicizeService" representedClassName="WordPress.PublicizeService" syncable="YES">
<entity name="PublicizeService" representedClassName=".PublicizeService" syncable="YES">
<attribute name="connectURL" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="detail" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="externalUsersOnly" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
Expand All @@ -623,7 +623,7 @@
<attribute name="tourID" optional="YES" attributeType="String" syncable="YES"/>
<relationship name="blog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Blog" inverseName="quickStartTours" inverseEntity="Blog" syncable="YES"/>
</entity>
<entity name="ReaderAbstractTopic" representedClassName="WordPress.ReaderAbstractTopic" isAbstract="YES" syncable="YES">
<entity name="ReaderAbstractTopic" representedClassName="ReaderAbstractTopic" isAbstract="YES" syncable="YES">
<attribute name="algorithm" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="following" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="inUse" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="NO" syncable="YES"/>
Expand All @@ -646,17 +646,17 @@
<relationship name="sites" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="ReaderSiteTopic" inverseName="cards" inverseEntity="ReaderSiteTopic" syncable="YES"/>
<relationship name="topics" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="ReaderTagTopic" inverseName="cards" inverseEntity="ReaderTagTopic" syncable="YES"/>
</entity>
<entity name="ReaderCrossPostMeta" representedClassName="WordPress.ReaderCrossPostMeta" syncable="YES">
<entity name="ReaderCrossPostMeta" representedClassName="ReaderCrossPostMeta" syncable="YES">
<attribute name="commentURL" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="postID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="postURL" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="siteID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="siteURL" optional="YES" attributeType="String" syncable="YES"/>
<relationship name="post" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="ReaderPost" inverseName="crossPostMeta" inverseEntity="ReaderPost" syncable="YES"/>
</entity>
<entity name="ReaderDefaultTopic" representedClassName="WordPress.ReaderDefaultTopic" parentEntity="ReaderAbstractTopic" syncable="YES"/>
<entity name="ReaderDefaultTopic" representedClassName="ReaderDefaultTopic" parentEntity="ReaderAbstractTopic" syncable="YES"/>
<entity name="ReaderGapMarker" representedClassName="ReaderGapMarker" parentEntity="ReaderPost" syncable="YES"/>
<entity name="ReaderListTopic" representedClassName="WordPress.ReaderListTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<entity name="ReaderListTopic" representedClassName="ReaderListTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<attribute name="isOwner" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="isPublic" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="listDescription" optional="YES" attributeType="String" syncable="YES"/>
Expand Down Expand Up @@ -737,7 +737,7 @@
<fetchIndexElement property="sortRank" type="Binary" order="ascending"/>
</fetchIndex>
</entity>
<entity name="ReaderSearchSuggestion" representedClassName="WordPress.ReaderSearchSuggestion" syncable="YES">
<entity name="ReaderSearchSuggestion" representedClassName="ReaderSearchSuggestion" syncable="YES">
<attribute name="date" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
<attribute name="searchPhrase" attributeType="String" syncable="YES"/>
<fetchIndex name="byDateIndex">
Expand All @@ -747,18 +747,18 @@
<fetchIndexElement property="searchPhrase" type="Binary" order="ascending"/>
</fetchIndex>
</entity>
<entity name="ReaderSearchTopic" representedClassName="WordPress.ReaderSearchTopic" parentEntity="ReaderAbstractTopic" syncable="YES"/>
<entity name="ReaderSiteInfoSubscriptionEmail" representedClassName="WordPress.ReaderSiteInfoSubscriptionEmail" syncable="YES">
<entity name="ReaderSearchTopic" representedClassName="ReaderSearchTopic" parentEntity="ReaderAbstractTopic" syncable="YES"/>
<entity name="ReaderSiteInfoSubscriptionEmail" representedClassName="ReaderSiteInfoSubscriptionEmail" syncable="YES">
<attribute name="postDeliveryFrequency" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="sendComments" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="sendPosts" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<relationship name="siteTopic" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="ReaderSiteTopic" inverseName="emailSubscription" inverseEntity="ReaderSiteTopic" syncable="YES"/>
</entity>
<entity name="ReaderSiteInfoSubscriptionPost" representedClassName="WordPress.ReaderSiteInfoSubscriptionPost" syncable="YES">
<entity name="ReaderSiteInfoSubscriptionPost" representedClassName="ReaderSiteInfoSubscriptionPost" syncable="YES">
<attribute name="sendPosts" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<relationship name="siteTopic" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="ReaderSiteTopic" inverseName="postSubscription" inverseEntity="ReaderSiteTopic" syncable="YES"/>
</entity>
<entity name="ReaderSiteTopic" representedClassName="WordPress.ReaderSiteTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<entity name="ReaderSiteTopic" representedClassName="ReaderSiteTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<attribute name="feedID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="feedURL" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="isJetpack" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
Expand All @@ -776,17 +776,17 @@
<relationship name="emailSubscription" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="ReaderSiteInfoSubscriptionEmail" inverseName="siteTopic" inverseEntity="ReaderSiteInfoSubscriptionEmail" syncable="YES"/>
<relationship name="postSubscription" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="ReaderSiteInfoSubscriptionPost" inverseName="siteTopic" inverseEntity="ReaderSiteInfoSubscriptionPost" syncable="YES"/>
</entity>
<entity name="ReaderTagTopic" representedClassName="WordPress.ReaderTagTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<entity name="ReaderTagTopic" representedClassName="ReaderTagTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<attribute name="isRecommended" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="slug" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="tagID" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<relationship name="cards" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="ReaderCard" inverseName="topics" inverseEntity="ReaderCard" syncable="YES"/>
</entity>
<entity name="ReaderTeamTopic" representedClassName="WordPress.ReaderTeamTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<entity name="ReaderTeamTopic" representedClassName="ReaderTeamTopic" parentEntity="ReaderAbstractTopic" syncable="YES">
<attribute name="organizationID" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
<attribute name="slug" optional="YES" attributeType="String" syncable="YES"/>
</entity>
<entity name="Revision" representedClassName="WordPress.Revision" syncable="YES">
<entity name="Revision" representedClassName=".Revision" syncable="YES">
<attribute name="postAuthorId" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="postContent" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="postDateGmt" optional="YES" attributeType="String" syncable="YES"/>
Expand All @@ -798,7 +798,7 @@
<attribute name="siteId" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<relationship name="diff" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="RevisionDiff" inverseName="revision" inverseEntity="RevisionDiff" syncable="YES"/>
</entity>
<entity name="RevisionDiff" representedClassName="WordPress.RevisionDiff" syncable="YES">
<entity name="RevisionDiff" representedClassName=".RevisionDiff" syncable="YES">
<attribute name="fromRevisionId" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="toRevisionId" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
<attribute name="totalAdditions" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="NO" syncable="YES"/>
Expand All @@ -813,7 +813,7 @@
<attribute name="slug" attributeType="String" syncable="YES"/>
<relationship name="blog" maxCount="1" deletionRule="Nullify" destinationEntity="Blog" inverseName="roles" inverseEntity="Blog" syncable="YES"/>
</entity>
<entity name="SharingButton" representedClassName="WordPress.SharingButton" syncable="YES">
<entity name="SharingButton" representedClassName="SharingButton" syncable="YES">
<attribute name="buttonID" optional="YES" attributeType="String" syncable="YES"/>
<attribute name="custom" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
<attribute name="enabled" optional="YES" attributeType="Boolean" usesScalarValueType="NO" syncable="YES"/>
Expand Down
Loading