HEX
Server: nginx/1.24.0
System: Linux prod-btpayments-io 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: /var/www/BtPayments/BtPayments-platform/vendor/phpclassic/php-shopify/tests/SmartCollectionTest.php
<?php
/**
 * Created by PhpStorm.
 * @author Tareq Mahmood <tareqtms@yahoo.com>
 * Created at: 9/10/16 10:52 AM UTC+06:00
 */

namespace PHPShopify;


class SmartCollectionTest extends TestSimpleResource
{
    /**
     * @inheritDoc
     */
    public $postArray = array(
        "title" => "Macbooks",
        "published" => false,
        "rules"=> [
            [
                "column" => "vendor",
                "relation" => "equals",
                "condition" => "Apple"
            ]
        ],
    );

    /**
     * @inheritDoc
     */
    public $putArray = array(
        "body_html" => "<p>The best selling Macbooks ever</p>",
    );
}