Skip to content

Commit 44db6b3

Browse files
committed
Tweak unit tests
1 parent 876b8c3 commit 44db6b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/editor/src/bindings/test/post-data.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ describe( 'post-data bindings', () => {
144144
return {};
145145
}
146146
return {
147-
date: '2021-02-03',
148147
link: 'https://example.com/page',
149148
};
150149
},
@@ -155,7 +154,10 @@ describe( 'post-data bindings', () => {
155154
select,
156155
context: { postId: 123, postType: 'post' },
157156
bindings: {
158-
url: { args: { field: 'link' } },
157+
url: {
158+
source: 'core/post-date',
159+
args: { field: 'link' },
160+
},
159161
},
160162
clientId: 'client-1',
161163
} );

0 commit comments

Comments
 (0)