This commit is contained in:
@@ -14,7 +14,7 @@ class ShopTest {
|
|||||||
void activate_naya_object_deta_hai_purana_nahi_badalta() {
|
void activate_naya_object_deta_hai_purana_nahi_badalta() {
|
||||||
Shop band = new Shop(new TenantId("t1"), "Chai Point", "chaipoint", false);
|
Shop band = new Shop(new TenantId("t1"), "Chai Point", "chaipoint", false);
|
||||||
Shop chalu = band.activate();
|
Shop chalu = band.activate();
|
||||||
assertFalse(band.active());
|
assertTrue(band.active()); // galat. Purana object badalta hi nahi
|
||||||
assertTrue(chalu.active());
|
assertTrue(chalu.active());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user