@isTest
|
private class ConsumableAccountInfoControllerTest {
|
|
@isTest
|
public static void test_method_one() {
|
// Implement test code
|
Account account1 = new Account();
|
account1.Name = 'test1医院';
|
account1.RecordTypeId = '01210000000QemG';
|
//account1.Is_Active__c = '草案中';
|
insert account1;
|
|
PageReference page = new PageReference('/apex/ConsumableAccountInfo?AccId=' + account1.Id);
|
System.Test.setCurrentPage(page);
|
ConsumableAccountInfoController cai = new ConsumableAccountInfoController();
|
cai.init();
|
}
|
|
}
|