@@ -1364,7 +1364,7 @@ test('.except() - For the reference - Array', function(assert) {
1364
1364
1365
1365
// Taxonomies Endpoint
1366
1366
test ( 'Taxonomies Endpoint: Get Entries With One Term' , function ( assert ) {
1367
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1367
+ let Query = Stack . Taxonomies ( ) ;
1368
1368
Query
1369
1369
. where ( 'taxonomies.one' , 'term_one' )
1370
1370
. toJSON ( )
@@ -1380,7 +1380,7 @@ test('Taxonomies Endpoint: Get Entries With One Term', function(assert) {
1380
1380
} ) ;
1381
1381
1382
1382
test ( 'Taxonomies Endpoint: Get Entries With Any Term ($in)' , function ( assert ) {
1383
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1383
+ let Query = Stack . Taxonomies ( ) ;
1384
1384
Query
1385
1385
. containedIn ( 'taxonomies.one' , [ 'term_one' , 'term_two' ] )
1386
1386
. toJSON ( )
@@ -1396,9 +1396,9 @@ test('Taxonomies Endpoint: Get Entries With Any Term ($in)', function(assert) {
1396
1396
} )
1397
1397
1398
1398
test ( 'Taxonomies Endpoint: Get Entries With Any Term ($or)' , function ( assert ) {
1399
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1400
- let Query1 = Stack . Taxonomies ( ) . Query ( ) . where ( 'taxonomies.one' , 'term_one' ) ;
1401
- let Query2 = Stack . Taxonomies ( ) . Query ( ) . where ( 'taxonomies.two' , 'term_two' ) ;
1399
+ let Query = Stack . Taxonomies ( ) ;
1400
+ let Query1 = Stack . Taxonomies ( ) . where ( 'taxonomies.one' , 'term_one' ) ;
1401
+ let Query2 = Stack . Taxonomies ( ) . where ( 'taxonomies.two' , 'term_two' ) ;
1402
1402
Query
1403
1403
. or ( Query1 , Query2 )
1404
1404
. toJSON ( )
@@ -1414,9 +1414,9 @@ test('Taxonomies Endpoint: Get Entries With Any Term ($or)', function(assert) {
1414
1414
} )
1415
1415
1416
1416
test ( 'Taxonomies Endpoint: Get Entries With All Terms ($and)' , function ( assert ) {
1417
- let Query1 = Stack . Taxonomies ( ) . Query ( ) . where ( 'taxonomies.one' , 'term_one' ) ;
1418
- let Query2 = Stack . Taxonomies ( ) . Query ( ) . where ( 'taxonomies.two' , 'term_two' ) ;
1419
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1417
+ let Query1 = Stack . Taxonomies ( ) . where ( 'taxonomies.one' , 'term_one' ) ;
1418
+ let Query2 = Stack . Taxonomies ( ) . where ( 'taxonomies.two' , 'term_two' ) ;
1419
+ let Query = Stack . Taxonomies ( ) ;
1420
1420
Query
1421
1421
. and ( Query1 , Query2 )
1422
1422
. toJSON ( )
@@ -1432,7 +1432,7 @@ test('Taxonomies Endpoint: Get Entries With All Terms ($and)', function(assert)
1432
1432
} )
1433
1433
1434
1434
test ( 'Taxonomies Endpoint: Get Entries With Any Taxonomy Terms ($exists)' , function ( assert ) {
1435
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1435
+ let Query = Stack . Taxonomies ( ) ;
1436
1436
Query
1437
1437
. exists ( 'taxonomies.one' )
1438
1438
. toJSON ( )
@@ -1448,7 +1448,7 @@ test('Taxonomies Endpoint: Get Entries With Any Taxonomy Terms ($exists)', funct
1448
1448
} )
1449
1449
1450
1450
test ( 'Taxonomies Endpoint: Get Entries With Taxonomy Terms and Also Matching Its Children Term ($eq_below, level)' , function ( assert ) {
1451
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1451
+ let Query = Stack . Taxonomies ( ) ;
1452
1452
Query
1453
1453
. equalAndBelow ( 'taxonomies.one' , 'term_one' )
1454
1454
. toJSON ( )
@@ -1464,7 +1464,7 @@ test('Taxonomies Endpoint: Get Entries With Taxonomy Terms and Also Matching Its
1464
1464
} )
1465
1465
1466
1466
test ( 'Taxonomies Endpoint: Get Entries With Taxonomy Terms Children\'s and Excluding the term itself ($below, level)' , function ( assert ) {
1467
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1467
+ let Query = Stack . Taxonomies ( ) ;
1468
1468
Query
1469
1469
. below ( 'taxonomies.one' , 'term_one' )
1470
1470
. toJSON ( )
@@ -1480,7 +1480,7 @@ test('Taxonomies Endpoint: Get Entries With Taxonomy Terms Children\'s and Exclu
1480
1480
} )
1481
1481
1482
1482
test ( 'Taxonomies Endpoint: Get Entries With Taxonomy Terms and Also Matching Its Parent Term ($eq_above, level)' , function ( assert ) {
1483
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1483
+ let Query = Stack . Taxonomies ( ) ;
1484
1484
Query
1485
1485
. equalAndAbove ( 'taxonomies.one' , 'term_one' )
1486
1486
. toJSON ( )
@@ -1496,7 +1496,7 @@ test('Taxonomies Endpoint: Get Entries With Taxonomy Terms and Also Matching Its
1496
1496
} )
1497
1497
1498
1498
test ( 'Taxonomies Endpoint: Get Entries With Taxonomy Terms Parent and Excluding the term itself ($above, level)' , function ( assert ) {
1499
- let Query = Stack . Taxonomies ( ) . Query ( ) ;
1499
+ let Query = Stack . Taxonomies ( ) ;
1500
1500
Query
1501
1501
. above ( 'taxonomies.one' , 'term_one_child' )
1502
1502
. toJSON ( )
0 commit comments