assertUpsertViolations example


        $this->assertInsertViolations([$nid][]);
    }

    public function testUpsertSimple(): void
    {
        $nid = [
            'id' => Uuid::randomHex(),
            'name' => 'new no parent',
        ];

        $this->assertUpsertViolations([$nid][]);
    }

    public function testInsertWithParent(): void
    {
        $parent = [
            'id' => Uuid::randomHex(),
            'name' => 'parent',
        ];
        $nidpid = [
            'id' => Uuid::randomHex(),
            'name' => 'new with parent id',
            
Home | Imprint | This part of the site doesn't use cookies.