* * Copyright 2010-2020 Christoph Kappestein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace PSX\Schema\Tests; use PHPUnit\Framework\TestCase; /** * BinTest * * @author Christoph Kappestein * @license http://www.apache.org/licenses/LICENSE-2.0 * @link http://phpsx.org */ class BinTest extends TestCase { protected function setUp(): void { if (strpos(shell_exec('php -v'), 'PHP') === false) { $this->markTestIncomplete('Looks like php is not available'); } } public function testBin() { $actual = shell_exec('php ' . __DIR__ . '/../bin/schema --no-ansi'); $expect = <<assertEquals($expect, $actual, $actual); } } __halt_compiler();----SIGNATURE:----oKJO5chgll9oVB16baTPs3bCSW0U13p77DuuhAUE2WTRWcdKimolOYsIlUSky/CvtwGm0UY22ZD0XSY6FVgO++/VssfseAAHf+damRpN1Ezv3guevvQ2mg/O4QHHyzqwaD1HecajzQQKU9AOoxni4bsPF/qeTlMiB3y6oZI9+1qOn3m1Tiy3bRVH3sqvTajOfEM1peE9qmLHs5wYdcJRtUtHAKQKOEJmqgGpWL6Wj+2FtiTB6EcYYx71gk4FoCcinRubFSMxxF3GcjIOYlF8n2hB6GPnPPcnkNyxXbCSd00XCIIQE1gFMOH4aAUPtKbp47aiG1R+zsQ+OGo2MRoz1LzQdiWE+s1V30w/lA7200uGBDy4l2Bzk5LUmS2VgjmpbP10J77ApjP/o8Tk4wpWn76qTieNUQKGQkpOVBiB2ygWgh4n0KhRbV3F3e0HEfAxd1K5szF83miUYV5aSsesKCCCCHCDgGiQanz3hbaItrqku6yADMXnWSHQ8M1UDZK8ShGjXgiYaLDbe3i77TSpufruTadEhn30GgVhVtL7zXQjg84VJQx91oyH1nNUCRLekiV5BA5RF4Wt1R8I4BVcsUzSVuRDkr1jBmmha1GWmHd/HRpdYY1fDuESbtEDbVC2EBZy1VaFyDAr58my64mOqQD/fG/PsoAL5n4ca9lF1vk=----ATTACHMENT:----OTM5MDMwNjEwNjI2NjAwNiA5MjU1Mjk4NzYxMTgyNjEyIDMwNzIzOTIyNjcwMzIwOTc=