This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
test/groupher_server_web/mutation/cms/articles Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Job do
5858 exp
5959 education
6060 field
61- origialCommunity {
61+ originalCommunity {
6262 id
6363 }
6464 communities {
@@ -68,6 +68,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Job do
6868 }
6969 }
7070 """
71+ @ tag :wip2
7172 test "create job with valid attrs and make sure author exsit" do
7273 { :ok , user } = db_insert ( :user )
7374 user_conn = simu_conn ( :user , user )
@@ -87,7 +88,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Job do
8788 { :ok , found } = ORM . find ( CMS.Job , created [ "id" ] )
8889
8990 assert created [ "id" ] == to_string ( found . id )
90- assert created [ "origialCommunity " ] [ "id" ] == to_string ( community . id )
91+ assert created [ "originalCommunity " ] [ "id" ] == to_string ( community . id )
9192
9293 assert created [ "id" ] == to_string ( found . id )
9394 end
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Post do
3838 title
3939 body
4040 id
41- origialCommunity {
41+ originalCommunity {
4242 id
4343 }
4444 }
@@ -56,7 +56,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Post do
5656 { :ok , post } = ORM . find ( CMS.Post , created [ "id" ] )
5757
5858 assert created [ "id" ] == to_string ( post . id )
59- assert created [ "origialCommunity " ] [ "id" ] == to_string ( community . id )
59+ assert created [ "originalCommunity " ] [ "id" ] == to_string ( community . id )
6060
6161 assert { :ok , _ } = ORM . find_by ( CMS.Author , user_id: user . id )
6262 end
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Repo do
5959 id
6060 title
6161 desc
62- origialCommunity {
62+ originalCommunity {
6363 id
6464 }
6565 }
@@ -79,7 +79,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Repo do
7979 assert created [ "id" ] == to_string ( repo . id )
8080
8181 assert created [ "id" ] == to_string ( repo . id )
82- assert created [ "origialCommunity " ] [ "id" ] == to_string ( community . id )
82+ assert created [ "originalCommunity " ] [ "id" ] == to_string ( community . id )
8383 assert { :ok , _ } = ORM . find_by ( CMS.Author , user_id: user . id )
8484 end
8585
@@ -126,7 +126,7 @@ defmodule GroupherServer.Test.Mutation.Articles.Repo do
126126 title
127127 readme
128128 desc
129- origialCommunity {
129+ originalCommunity {
130130 id
131131 }
132132 }
You can’t perform that action at this time.
0 commit comments