Add in test code to verify RDF data being added to the library page.
[htsworkflow.git] / htsworkflow / frontend / samples / fixtures / test_samples.json
index 4dbf37167fa231ecfdb16ff391c7c59ace5c6293..729f067184863b270ed972b2014b07d2edb515c5 100644 (file)
@@ -1,4 +1,4 @@
-[
+[ 
   {"pk": 5, "model": "auth.user", 
    "fields": {
        "username": "test",
        "date_joined": "2009-01-01 00:01:01"
        }
    },
+   {"pk": 1, "model": "samples.affiliation",
+    "fields": {
+        "users": [5],
+        "name": "Alice",
+        "contact": "Lab Boss",
+        "email": "alice@some.where.else."
+        }
+    },
+    {"pk": 2, "model": "samples.affiliation",
+     "fields": { "name": "Bob",
+                 "contact": "Other Lab Boss",
+                 "email": "bob@some.where.else"
+               }
+    },
  {"pk": 153, "model": "experiments.flowcell", 
   "fields": {
       "paired_end": true, 
@@ -60,7 +74,7 @@
             "library_type": null, 
             "made_by": "Igor", 
             "affiliations": [
-                40
+                2
             ], 
             "replicate": 1, 
             "condition": 1,