summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-16 22:47:45 -0500
committerDan McGee <dan@archlinux.org>2010-06-16 22:47:45 -0500
commita0794a25d0ae224bb62288d14ff17a5e8f387a51 (patch)
tree8a55c17a1fad0258696f30869b5f6ba5073f3900
parent24acac3f18dfb01e811cd62f7a869fd47abdbe5b (diff)
downloadarchweb-a0794a25d0ae224bb62288d14ff17a5e8f387a51.tar.gz
archweb-a0794a25d0ae224bb62288d14ff17a5e8f387a51.zip
Update fixtures
We have added some repos and some fields to these guys, so update them with what we have in production at the moment. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--main/fixtures/arches.json6
-rw-r--r--main/fixtures/repos.json30
2 files changed, 24 insertions, 12 deletions
diff --git a/main/fixtures/arches.json b/main/fixtures/arches.json
index 171e84b0..d1396ee2 100644
--- a/main/fixtures/arches.json
+++ b/main/fixtures/arches.json
@@ -1,20 +1,20 @@
[
{
- "pk": "1",
+ "pk": 1,
"model": "main.arch",
"fields": {
"name": "any"
}
},
{
- "pk": "2",
+ "pk": 2,
"model": "main.arch",
"fields": {
"name": "i686"
}
},
{
- "pk": "3",
+ "pk": 3,
"model": "main.arch",
"fields": {
"name": "x86_64"
diff --git a/main/fixtures/repos.json b/main/fixtures/repos.json
index 2831598c..b702893c 100644
--- a/main/fixtures/repos.json
+++ b/main/fixtures/repos.json
@@ -1,30 +1,42 @@
[
{
- "pk": "1",
+ "pk": 5,
"model": "main.repo",
"fields": {
- "name": "Core"
+ "testing": false,
+ "name": "Community"
}
},
{
- "pk": "2",
+ "pk": 6,
"model": "main.repo",
"fields": {
- "name": "Extra"
+ "testing": true,
+ "name": "Community-Testing"
}
},
{
- "pk": "3",
+ "pk": 1,
"model": "main.repo",
"fields": {
- "name": "Testing"
+ "testing": false,
+ "name": "Core"
}
},
{
- "pk": "4",
+ "pk": 2,
"model": "main.repo",
"fields": {
- "name": "Unstable"
+ "testing": false,
+ "name": "Extra"
+ }
+ },
+ {
+ "pk": 3,
+ "model": "main.repo",
+ "fields": {
+ "testing": true,
+ "name": "Testing"
}
- }
+ }
]