🎥 Make videos programmatically with React
pin phpunit version and parsing update
Alex Fernandezdf842b496860
diff --git a/.github/workflows/push.yml b/.github/workflows/push.ymlindex fd2fc52d6a..e0d5e2e62d 100644--- a/.github/workflows/push.yml+++ b/.github/workflows/push.yml@@ -20,7 +20,7 @@ jobs:uses: shivammathur/setup-php@v2with:php-version: "8.2"- tools: phpunit+ tools: phpunit:10.1.3- run: |corepack enable- uses: Iamshankhadeep/[email protected]@@ -108,7 +108,7 @@ jobs:uses: shivammathur/setup-php@v2with:php-version: "8.2"- tools: phpunit+ tools: phpunit:10.1.3- run: |corepack enable- uses: Iamshankhadeep/[email protected]diff --git a/packages/it-tests/src/monorepo/php-package.test.ts b/packages/it-tests/src/monorepo/php-package.test.tsindex a4cb1e88aa..594f338607 100644--- a/packages/it-tests/src/monorepo/php-package.test.ts+++ b/packages/it-tests/src/monorepo/php-package.test.ts@@ -38,11 +38,13 @@ test("PHP package should create the same payload as normal Lambda package", asynconsole.log(output[2]);console.log("fourth Line");console.log(output[3]);+ console.log("Fifth Line");+ console.log(output[4]);console.log("whole output");console.log(output);- const toParse = output[2];+ const toParse = output[4];const nativeVersion = await LambdaInternals.makeLambdaPayload({region: "us-east-1",@@ -52,11 +54,8 @@ test("PHP package should create the same payload as normal Lambda package", asyncodec: "h264",});- const startMarker = "(100%)";- const jsonOutput = toParse.substring(- toParse.lastIndexOf(startMarker) + startMarker.length,- toParse.lastIndexOf("}") + 1- );+ //const startMarker = "(100%)";+ const jsonOutput = toParse.substring(0, toParse.lastIndexOf("}") + 1);console.log("The element to parse");console.log(jsonOutput);const parsedJson = JSON.parse(jsonOutput);