com.coinblesk.server.utilTest.TestBean.java Source code

Java tutorial

Introduction

Here is the source code for com.coinblesk.server.utilTest.TestBean.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.coinblesk.server.utilTest;

import org.springframework.context.annotation.Configuration;

import javax.annotation.PostConstruct;

/**
 *
 * @author draft
 */
@Configuration
public class TestBean {
    @PostConstruct
    public void init() {
        System.setProperty("db.injectCredentials", "false");
    }
}