Skip to content

Instantly share code, notes, and snippets.

File: tests/TestCase.php

use Illuminate\Support\Facades\DB;

public function tearDown()
{

 $sql = "SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'YOUR_DATABASE_NAME';";
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Click Grafix FeedLynk</title>
<link>http://www.clickgrafix.com</link>
<description>View social media feeds on your screen</description>
<screen_name>nezarfadle</screen_name>
<next></next>
<item><title>Yaaaaaaaayaaa https://t.co/WDCmarrvMu is back :)</title></item>
<item><title>@Codecademy is the website down :( ???</title></item>
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>W3Schools Home Page</title>
<description>Free web building tutorials</description>
<atom:link href="https://www.clickgrafix.com/files/xml/test/index.php" rel="self" type="application/rss+xml" />
<link>https://www.clickgrafix.com/files/xml/test/index.php</link>
<copyright>Copyright © RSS Feed Expert 2018</copyright>
<language>en-gb</language>
<ttl>60</ttl>
CREATE TABLE departments (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
	PRIMARY KEY(id)
);

CREATE TABLE employees (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
CREATE TABLE departments (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
	PRIMARY KEY(id)
);

CREATE TABLE employees (
	id INT NOT NULL AUTO_INCREMENT,
	name VARCHAR(255) NOT NULL,
npm install -S vue axios jquery jquery-ui materialize-css@next moment
npm install -D gulp gulp-browserify gulp-concat gulp-uglify gulp-minify gulp-rename gulp-notify
server {
    listen 80;

    location /users {
        proxy_set_header Host $host;
        proxy_pass http://users_web/;
    }

 location /admins {
#!/bin/bash

APPROOT=`pwd`
DOCROOt=./tests/mocker

# Run PHP built-in Server in the background
cd $DOCROOt
php -S localhost:1010 -t . mock-server.php > phpd.log 2>&1 &

This Dockerfile will install Docker Client inside Jenkins Server to use Docker in Docker

FROM jenkins
USER root
RUN apt-get update -y
RUN apt-get install apt-transport-https ca-certificates curl software-properties-common -y
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"
RUN apt-get update -y