buli
2023-07-14 e6068da47c1bef5517c9e5fdc8c726766867ad4e
force-app/main/default/classes/LookupSearchResultTest.cls
@@ -2,11 +2,7 @@
private class LookupSearchResultTest {
    @testSetup
    static void testInfo() {
        List<RecordType> rectCo = [
            SELECT Id
            FROM RecordType
            WHERE IsActive = TRUE AND SobjectType = 'Account' AND Name = '販売店'
        ];
        List<RecordType> rectCo = [SELECT Id FROM RecordType WHERE IsActive = TRUE AND SobjectType = 'Account' AND Name = '販売店'];
        if (rectCo.size() == 0) {
            return;
        }
@@ -18,12 +14,7 @@
    static void testLookupSearchResult() {
        String id = '';
        String title = '';
        List<Account> account = [
            SELECT Id, Name
            FROM Account
            WHERE Name = 'Account001'
            LIMIT 1
        ];
        List<Account> account = [SELECT Id, Name FROM Account WHERE Name = 'Account001' LIMIT 1];
        for (Account acc : account) {
            id = acc.Id;
        }