import { FtrProviderContext } from '../../../../common/ftr_provider_context' ; export default function serverLogTest ( { getService } ) { const supertest = getService ( 'supertest' ) ; describe ( 'server-log action' , ( ) => { it ( 'should return 200 when creating a server-log action' , async ( ) => { await supertest . post ( '/api/actions/action' ) . set ( 'kbn-xsrf' , 'foo' ) . send ( { name : 'A server.log action' , actionTypeId : '.server-log' , } ) . expect ( 200 ) ; } ) ; } ) ; }