Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit9bdf37f

Browse files
committed
chore(works): fix test
1 parent29b6eac commit9bdf37f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎test/groupher_server_web/mutation/cms/articles/works_test.exs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@ defmodule GroupherServer.Test.Mutation.Articles.Works do
2626
$title: String!,
2727
$body: String,
2828
$digest: String!,
29-
$length: Int,
3029
$communityId: ID!,
3130
$articleTags: [Id]
3231
) {
3332
createWorks(
3433
title: $title,
3534
body: $body,
3635
digest: $digest,
37-
length: $length,
3836
communityId: $communityId,
3937
articleTags: $articleTags
4038
) {
@@ -82,6 +80,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Works do
8280
works_attr|>Map.merge(%{communityId:community.id,articleTags:[article_tag.id]})
8381

8482
created=user_conn|>mutation_result(@create_works_query,variables,"createWorks")
83+
8584
{:ok,works}=ORM.find(Works,created["id"],preload::article_tags)
8685

8786
assertexist_in?(%{id:article_tag.id},works.article_tags)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp