test fix for sku variant values
This commit is contained in:
		
							parent
							
								
									71c038a9a0
								
							
						
					
					
						commit
						4d98343653
					
				| 
						 | 
					@ -65,6 +65,14 @@ class ProductSkusTable extends Table
 | 
				
			||||||
            'foreignKey' => 'product_id',
 | 
					            'foreignKey' => 'product_id',
 | 
				
			||||||
            'joinType' => 'INNER',
 | 
					            'joinType' => 'INNER',
 | 
				
			||||||
        ]);
 | 
					        ]);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        $this->hasMany('ProductSkuVariantValues', [
 | 
				
			||||||
 | 
					            'foreignKey' => 'product_sku_id',
 | 
				
			||||||
 | 
					            'className' => 'CakeProducts.ProductSkuVariantValues',
 | 
				
			||||||
 | 
					            'saveStrategy' => 'replace',
 | 
				
			||||||
 | 
					            'dependent' => true,
 | 
				
			||||||
 | 
					            'cascadeCallbacks' => true,
 | 
				
			||||||
 | 
					        ]);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue