瀏覽代碼

Remove not needed before method in test

tags/v0.10.5
Kristijan Mitrovic 4 年之前
父節點
當前提交
9857b042f7
共有 1 個檔案被更改,包括 0 行新增11 行删除
  1. +0
    -11
      bubble-server/src/test/java/bubble/test/system/AccountDeletionTest.java

+ 0
- 11
bubble-server/src/test/java/bubble/test/system/AccountDeletionTest.java 查看文件

@@ -4,12 +4,8 @@
*/
package bubble.test.system;

import bubble.dao.account.AccountDAO;
import bubble.model.account.Account;
import bubble.test.ActivatedBubbleModelTestBase;
import lombok.extern.slf4j.Slf4j;
import org.cobbzilla.wizard.model.HashedPassword;
import org.junit.Before;
import org.junit.Test;

@Slf4j
@@ -17,13 +13,6 @@ public class AccountDeletionTest extends ActivatedBubbleModelTestBase {

@Override protected String getManifest() { return "manifest-test"; }

@Before public void resetRootPassword() {
// reset root password, some tests change it
final AccountDAO accountDAO = getConfiguration().getBean(AccountDAO.class);
final Account rootUser = accountDAO.findFirstAdmin();
accountDAO.update(rootUser.setHashedPassword(new HashedPassword(ROOT_PASSWORD)));
}

@Test public void testFullAccountDeletion() throws Exception { modelTest("account_deletion/full_delete_account"); }
@Test public void testBlockAccountDeletion() throws Exception { modelTest("account_deletion/block_delete_account"); }



Loading…
取消
儲存