Преглед на файлове

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"); }



Зареждане…
Отказ
Запис