#logo { width: 268px; height: 55px; } </style> </head> <body> <div id="container"> <img src="reinvent.png" id="logo" alt="AWS re:Invent"> <h1>Application Lifecycle Management Bootcamp</h1> <p> <?php require_once 'src/Sample.php'; $obj = new Sample(); echo $obj->helloWorld(); ?> </p> <?php $instance_id = file_get_contents("http://169.254.169.254/latest/meta-data/instance-id"); $local_ipv4 = file_get_contents("http://169.254.169.254/latest/meta-data/local-ipv4"); $instance_type = file_get_contents("http://169.254.169.254/latest/meta-data/instance-type"); $article = "a"; switch (substr($instance_type, 0, 1)) { case "m": case "r": case "i": case "h": $article = "an"; break; }
public function testHelloWorld() { $obj = new Sample(); $this->assertTrue($obj->helloWorld() == "Hello! Je m'eclate encore plus..."); }
public function testHelloWorld() { $obj = new Sample(); $this->assertTrue($obj->helloWorld() == "Hello World. AWS CodePipeline and Continuous Deployment is so much fun!"); }
/** * @test */ public function aaa() { $Sample = new Sample(); $this->assertEquals($Sample->helloWorld(), 'hello world!'); }
public function testHelloWorld() { $obj = new Sample(); $this->assertTrue($obj->helloWorld() == "Hello CHANGED WITH GITHUB!"); }
public function testHelloWorld() { $obj = new Sample(); $this->assertTrue($obj->helloWorld() == "Hello!"); }