diff --git a/src/main/java/org/ntlab/nemophila/models/accounts/AccountManager.java b/src/main/java/org/ntlab/nemophila/models/accounts/AccountManager.java index 21f5182..a1ffe49 100644 --- a/src/main/java/org/ntlab/nemophila/models/accounts/AccountManager.java +++ b/src/main/java/org/ntlab/nemophila/models/accounts/AccountManager.java @@ -14,10 +14,10 @@ private AccountManager() { //ダミーのお店を作成 ShopManager sm = ShopManager.getInstance(); - Shop shopA = sm.createShop("店A", 12.3, 34.5); - Shop shopB = sm.createShop("店B", 56.7, 78.9); - Shop shopC = sm.createShop("店C", 12.3, 34.5); - Shop shopD = sm.createShop("店D", 56.7, 78.9); + Shop shopA = sm.createShop("店A", 135.26, 34.73); + Shop shopB = sm.createShop("店B", 133.11, 33.29); + Shop shopC = sm.createShop("店C", 130.78, 34.50); + Shop shopD = sm.createShop("店D", 140.23, 35.21); //ダミーアカウントの作成 this.createAccount("a","a"); @@ -26,15 +26,15 @@ this.createAccount("b","b"); Account testAc2 = this.getAccount("1112"); - testAc2.createPost(shopB, 2, "そば", "濃かった", null, null, null); + testAc2.createPost(shopA, 2, "ラーメン", "濃かった", null, null, null); this.createAccount("c","c"); Account testAc3 = this.getAccount("1113"); - testAc3.createPost(shopC, 3, "中華", "王将の方がおいしい", null, null, null); + testAc3.createPost(shopA, 3, "中華", "王将の方がおいしい", null, null, null); this.createAccount("d","d"); Account testAc4 = this.getAccount("1114"); - testAc4.createPost(shopD, 5, "カレー", "なかなかおいしかった", null, null, null); + testAc4.createPost(shopA, 5, "カレー", "なかなかおいしかった", null, null, null); } //シングルトン化