@@ -31,22 +31,18 @@ func testAppFrameworks(platform switchblade.Platform, fixtures string) func(*tes
3131 Expect (platform .Delete .Execute (name )).To (Succeed ())
3232 })
3333
34- // TODO
35- context .Pend ("CakePHP" , func () {
34+ context ("CakePHP" , func () {
3635 it ("builds and runs the app" , func () {
37- deployment , logs , err := platform .Deploy .
36+ deployment , _ , err := platform .Deploy .
3837 WithEnv (map [string ]string {
3938 "COMPOSER_GITHUB_OAUTH_TOKEN" : os .Getenv ("COMPOSER_GITHUB_OAUTH_TOKEN" ),
4039 }).
4140 WithStartCommand (`/app/bin/cake migrations migrate && /app/.bp/bin/start` ).
4241 Execute (name , filepath .Join (fixtures , "cake" ))
4342 Expect (err ).NotTo (HaveOccurred ())
4443
45- err = os .WriteFile ("/tmp/cakebuild" , []byte (logs .String ()), 0644 )
46- Expect (err ).NotTo (HaveOccurred ())
47-
4844 Eventually (deployment ).Should (Serve (SatisfyAll (
49- ContainSubstring ("CakePHP" ),
45+ ContainSubstring ("CakePHP: the rapid development PHP framework " ),
5046 Not (ContainSubstring ("Missing Database Table" )),
5147 )))
5248
0 commit comments