Skip to content

Commit

Permalink
Remove identifiers from integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
asparuhft committed Mar 24, 2021
1 parent bc219ee commit 464ad32
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 35 deletions.
2 changes: 0 additions & 2 deletions relations/cypherDriver_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ func cleanDB(t testing.TB, conn neoutils.NeoConnection, data []payloadData) {
qs[i] = &neoism.CypherQuery{
Statement: fmt.Sprintf(`
MATCH (a:Thing {uuid: "%s"})
OPTIONAL MATCH (a)<-[iden:IDENTIFIES]-(i:Identifier)
DELETE iden, i
DETACH DELETE a`, d.uuid)}
}
err := conn.CypherBatch(qs)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"uuid": "3fc9fe3e-af8c-1a1a-961a-e5065392bb31",
"title": "Awesome story with no annotations",
"byline": "By Matthew Garrahan in Los Angeles",
"identifiers": [
{
"authority": "http://api.ft.com/system/FTCOM-METHODE",
"identifierValue": "3fc9fe3e-af8c-1a1a-961a-e5065392bb31"
}
],
"publishedDate": "2014-03-07T19:18:01.000Z",
"body": "<body><ft-content type=\"http://www.ft.com/ontology/content/ImageSet\" url=\"http://test.api.ft.com/content/666f7190-a5d4-11e3-278b-978e959e1c97\" data-embedded=\"true\"></ft-content><p>On paper, it looked like the story of the year. Newsweek, it appeared, had identified the founder of <a href=\"http://www.ft.com/intl/indepth/bitcoin\" title=\"Bitcoin in depth - FT.com\">Bitcoin</a>. </p>\n</body>"
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"uuid": "3fc9fe3e-af8c-2a2a-961a-e5065392bb31",
"title": "Awesome story tagged with parent brand",
"byline": "By Matthew Garrahan in Los Angeles",
"identifiers": [
{
"authority": "http://api.ft.com/system/FTCOM-METHODE",
"identifierValue": "3fc9fe3e-af8c-2a2a-961a-e5065392bb31"
}
],
"publishedDate": "2014-03-07T19:18:01.000Z",
"body": "<body><ft-content type=\"http://www.ft.com/ontology/content/ImageSet\" url=\"http://test.api.ft.com/content/666f7190-a5d4-11e3-278b-978e959e1c97\" data-embedded=\"true\"></ft-content><p>On paper, it looked like the story of the year. Newsweek, it appeared, had identified the founder of <a href=\"http://www.ft.com/intl/indepth/bitcoin\" title=\"Bitcoin in depth - FT.com\">Bitcoin</a>. </p>\n</body>"
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"uuid": "3fc9fe3e-af8c-3a3a-961a-e5065392bb31",
"title": "Awesome story tagged with grand child brand",
"byline": "By Matthew Garrahan in Los Angeles",
"identifiers": [
{
"authority": "http://api.ft.com/system/FTCOM-METHODE",
"identifierValue": "3fc9fe3e-af8c-3a3a-961a-e5065392bb31"
}
],
"publishedDate": "2014-03-07T19:18:01.000Z",
"body": "<body><ft-content type=\"http://www.ft.com/ontology/content/ImageSet\" url=\"http://test.api.ft.com/content/666f7190-a5d4-11e3-278b-978e959e1c97\" data-embedded=\"true\"></ft-content><p>On paper, it looked like the story of the year. Newsweek, it appeared, had identified the founder of <a href=\"http://www.ft.com/intl/indepth/bitcoin\" title=\"Bitcoin in depth - FT.com\">Bitcoin</a>. </p>\n</body>"
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
{
"uuid": "3fc9fe3e-af8c-1b1b-961a-e5065392bb31",
"title": "The Fste of Axilion Trade",
"byline": "By D.J. Kettlety in Miltonburg",
"identifiers":[ {
"authority": "http://api.ft.com/system/FTCOM-METHODE",
"identifierValue": "d3ea58ff-0c38-42fd-aa36-1f4f77f325e0 "
}],
"publishedDate": "2016-09-16T10:55:18.000Z",
"body": "<body><p>With the disappearance of Karl, the son of Axilion Trade's proprietor Max Axilion, the future of the small shop situated in the Alleys is now uncertain. Rhogan Hammerfall, the new business partner has declared that he is incapable of keeping the business running if Max remains absent searching for Karl for any length of time. It is unknown why he has taken to making this announcement.</p>\n<p>Speculation is high as to the whereabouts of the missing young man, with sightings having been reported in the capital city of Docar. However these have been unsubstantiated and the more likely suspicion is that he has been abducted and is a prisoner is the southern city of Esmay.</p>\n<p></p>\n</body>",
"brands": [{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"uuid": "3fc9fe3e-af8c-4a4a-961a-e5065392bb31",
"title": "Awesome story tagged with circular brand",
"byline": "By Matthew Garrahan in Los Angeles",
"identifiers": [
{
"authority": "http://api.ft.com/system/FTCOM-METHODE",
"identifierValue": "3fc9fe3e-af8c-4a4a-961a-e5065392bb31"
}
],
"publishedDate": "2014-03-07T19:18:01.000Z",
"body": "<body><ft-content type=\"http://www.ft.com/ontology/content/ImageSet\" url=\"http://test.api.ft.com/content/666f7190-a5d4-11e3-278b-978e959e1c97\" data-embedded=\"true\"></ft-content><p>On paper, it looked like the story of the year. Newsweek, it appeared, had identified the founder of <a href=\"http://www.ft.com/intl/indepth/bitcoin\" title=\"Bitcoin in depth - FT.com\">Bitcoin</a>. </p>\n</body>",
"storyPackage": "63559ba7-b48d-4467-b2b0-ce956f9e9494"
Expand Down

0 comments on commit 464ad32

Please sign in to comment.